Fri, 24 Mar 2023 21:02:25 +0100
fix wstool ldflags, missing ../lib rpath
src/tools/Makefile | file | annotate | diff | comparison | revisions |
--- 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 $@ $<