mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-09-22 16:15:05 +08:00
Library tests should use linker flags
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user