summaryrefslogtreecommitdiff
path: root/Makeconf
diff options
context:
space:
mode:
Diffstat (limited to 'Makeconf')
-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