Add LDFLAGS to CXX when linking...
authorNiko Liikanen <cloud@neo-midgar.com>
Tue, 5 Sep 2006 20:32:03 +0000 (20:32 +0000)
committerNiko Liikanen <cloud@neo-midgar.com>
Tue, 5 Sep 2006 20:32:03 +0000 (20:32 +0000)
Makefile

index 1424119b19e8ed9717514edf30984cf6a8cf7c63..8396a66d81797484dc0e02f0bff940984a3a1c3e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -38,7 +38,7 @@ $(TMP):
 # Dynamic library
 $(TMP)/$(LIBFILE)$(SHARED): $(OBJS)
        echo "Compiling $(notdir $@)"
-       $(CXX) $^ -shared -o $@ $(LIB)
+       $(CXX) $^ -shared -o $@ $(LIB) $(LDFLAGS)
 
 # Static library
 $(TMP)/$(LIBFILE)$(STATIC): $(OBJS)