summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-10-07 09:02:02 +0000
committerRoland McGrath <roland@gnu.org>1995-10-07 09:02:02 +0000
commite8ab620d776f8c10be83c17808c154d3d0834f91 (patch)
treebd6c8923e72383a9e09035115857beafa4a3ba93
parent4ce2ebb93c573ad645a7af6b00e647fa90b6fae8 (diff)
($(libname).so): Pass $(LDFLAGS) and $($@-LDFLAGS).
-rw-r--r--Makeconf3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makeconf b/Makeconf
index 038f6310..8648d475 100644
--- a/Makeconf
+++ b/Makeconf
@@ -169,7 +169,8 @@ $(libname).a: $(OBJS)
$(RANLIB) $@
$(libname).so: $(patsubst %.o,%_pic.o,$(OBJS))
- $(CC) -shared $(CFLAGS) -Wl,-soname=$(libname).so -o $(libname).so $+
+ $(CC) -shared -Wl,-soname=$(libname).so -o $(libname).so \
+ $(CFLAGS) $(LDFLAGS) $($@-LDFLAGS) $+
endif
# Making a snapshot