List libraries more than once to satisfy gcc linker

This commit is contained in:
John M. Penn 2015-07-15 17:29:10 -05:00
parent 0b99667d9b
commit 3a70ffb156

View File

@ -13,8 +13,7 @@ include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
# Flags passed to the preprocessor. # Flags passed to the preprocessor.
TRICK_CPPFLAGS += -I$(GTEST_HOME)/include -I$(TRICK_HOME)/include -g -Wall -Wextra ${COVERAGE_FLAGS} TRICK_CPPFLAGS += -I$(GTEST_HOME)/include -I$(TRICK_HOME)/include -g -Wall -Wextra ${COVERAGE_FLAGS}
#TRICK_LIBS = -L${TRICK_LIB_DIR} -ltrick_units -ltrick_mm TRICK_LIBS = -L${TRICK_LIB_DIR} -ltrick_units -ltrick_mm -ltrick -ltrick_units -ltrick_mm -ltrick
TRICK_LIBS = -L${TRICK_LIB_DIR} -ltrick -ltrick_units -ltrick_mm
TRICK_EXEC_LINK_LIBS += ${GTEST_HOME}/lib/libgtest.a ${GTEST_HOME}/lib/libgtest_main.a TRICK_EXEC_LINK_LIBS += ${GTEST_HOME}/lib/libgtest.a ${GTEST_HOME}/lib/libgtest_main.a