Library tests should use linker flags

This commit is contained in:
Roger A. Light
2024-03-27 09:27:03 +00:00
parent 909179eaaf
commit 356cb65178
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ TESTS = ${SRC:.cpp=.test}
all : ${TESTS}
${TESTS} : %.test: %.cpp ${R}/test/path_helper.h
$(CXX) -DTEST_SOURCE_DIR='"$(realpath .)"' $< -o $@ $(LOCAL_CXXFLAGS) $(LIBS)
$(CXX) -DTEST_SOURCE_DIR='"$(realpath .)"' $< -o $@ $(LOCAL_CXXFLAGS) $(LIBS) $(LOCAL_LDFLAGS)
reallyclean : clean
-rm -f *.orig