--- 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 $@ $<