# HG changeset patch # User Olaf Wintermann # Date 1679688145 -3600 # Node ID 2ad9bcc2ae51a296383603e19018da141d0f109c # Parent f2b0e48aa4831552570e65c2eeefad106567b56c fix wstool ldflags, missing ../lib rpath diff -r f2b0e48aa483 -r 2ad9bcc2ae51 src/tools/Makefile --- a/src/tools/Makefile Wed Mar 22 18:18:51 2023 +0100 +++ b/src/tools/Makefile Fri Mar 24 21:02:25 2023 +0100 @@ -42,7 +42,7 @@ all: $(BUILD_ROOT)/build/tools $(BUILD_ROOT)/build/bin/wstool $(BUILD_ROOT)/build/bin/wstool: $(BUILD_ROOT)/build/tools $(WSTOOL_OBJ) - $(CC) -o $@ $(WSTOOL_OBJ) -L$(BUILD_ROOT)/build/lib $(LDFLAGS) + $(CC) -o $@ $(WSTOOL_OBJ) -L$(BUILD_ROOT)/build/lib $(LDFLAGS) $(RPATH_WS_LIB_FLAG) $(BUILD_ROOT)/build/tools/%$(OBJ_EXT): %.c $(CC) $(CFLAGS) -c -o $@ $<