fix missing LDFLAGS when linking ucxtest

Wed, 27 Dec 2023 16:18:10 +0100

author
Mike Becker <universe@uap-core.de>
date
Wed, 27 Dec 2023 16:18:10 +0100
changeset 773
bbf2f18b3818
parent 772
4586a84c0c0b
child 774
4fd4e0c6107a

fix missing LDFLAGS when linking ucxtest

tests/Makefile file | annotate | diff | comparison | revisions
--- a/tests/Makefile	Wed Dec 27 16:16:11 2023 +0100
+++ b/tests/Makefile	Wed Dec 27 16:18:10 2023 +0100
@@ -35,7 +35,7 @@
 all: $(TEST_DIR) $(TEST_DIR)/ucxtest
 
 $(TEST_DIR)/ucxtest: $(OBJ) $(build_dir)/libucx_static.a
-	$(CC) -o $@ $+
+	$(CC) -o $@ $(LDFLAGS) $+
 
 $(build_dir)/libucx_static.a:
 	test -f "$@"

mercurial