fix wstool ldflags, missing ../lib rpath

Fri, 24 Mar 2023 21:02:25 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Fri, 24 Mar 2023 21:02:25 +0100
changeset 488
2ad9bcc2ae51
parent 487
f2b0e48aa483
child 489
921f83a8943f

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

mercurial