From f6a007e3df81c872452d5a271fbd5dabfa514cc1 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Sun, 15 Aug 2010 05:04:34 +0000 Subject: Include LDFLAGS in LINK_SHRLIB --- config/var-def.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'config') diff --git a/config/var-def.mk b/config/var-def.mk index 89c03c29..1a08e370 100644 --- a/config/var-def.mk +++ b/config/var-def.mk @@ -85,11 +85,11 @@ CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXX) -static $(LDFLAGS) ## to be very selective about when and where to use. Sadly, that ends ## up negating the whole point of having Libtool in the first place. ifeq (@oa_use_libtool_for_shared_lib@,no) -LINK_SHRLIB = $(CC) -CXXLINK_SHRLIB = $(CXX) +LINK_SHRLIB = $(CC) $(LDFLAGS) +CXXLINK_SHRLIB = $(CXX) $(LDFLAGS) else -LINK_SHRLIB = $(LIBTOOL) --tag=CC --mode=link $(CC) -CXXLINK_SHRLIB = $(LIBTOOL) --tag=CXX --mode=link $(CC) +LINK_SHRLIB = $(LIBTOOL) --tag=CC --mode=link $(CC) $(LDFLAGS) +CXXLINK_SHRLIB = $(LIBTOOL) --tag=CXX --mode=link $(CC) $(LDFLAGS) endif -- cgit v1.2.3