Moved standard libraries to LDFLAGS rather than LIBS

This commit is contained in:
Alvin Moore 2019-05-10 15:22:41 -07:00
parent 1d041222ec
commit 4d32909837
1 changed files with 1 additions and 2 deletions

View File

@ -35,8 +35,7 @@ _fdb_flow_tester_clean:
@rm -rf bindings/flow/bin
ifeq ($(PLATFORM),linux)
fdb_flow_tester_LIBS += -ldl -lpthread -lrt
fdb_flow_tester_LDFLAGS += -static-libstdc++ -static-libgcc
fdb_flow_tester_LDFLAGS += -static-libstdc++ -static-libgcc -ldl -lpthread -lrt
else ifeq ($(PLATFORM),osx)
fdb_flow_tester_LDFLAGS += -lc++
endif