From ec6ec42241024e9251ed48b790a596a3b0131d91 Mon Sep 17 00:00:00 2001 From: Richard Hull Date: Wed, 4 Mar 2015 09:57:09 +0000 Subject: [PATCH] Move linker options after object so they are included as dependencies --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 20e83c47..876193b0 100644 --- a/Makefile +++ b/Makefile @@ -90,7 +90,7 @@ $(SHARED2): $(SHARED3) endif $(SHARED3): - $(CXX) $(LDFLAGS) $(PLATFORM_SHARED_LDFLAGS)$(SHARED2) $(CXXFLAGS) $(PLATFORM_SHARED_CFLAGS) $(SOURCES) -o $(SHARED3) + $(CXX) $(CXXFLAGS) $(PLATFORM_SHARED_CFLAGS) $(SOURCES) -o $(SHARED3) $(LDFLAGS) $(PLATFORM_SHARED_LDFLAGS)$(SHARED2) endif # PLATFORM_SHARED_EXT