summaryrefslogtreecommitdiff
path: root/Makeconf
diff options
context:
space:
mode:
Diffstat (limited to 'Makeconf')
-rw-r--r--Makeconf2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makeconf b/Makeconf
index fcd60708..36a29b97 100644
--- a/Makeconf
+++ b/Makeconf
@@ -215,7 +215,7 @@ rpath := -Wl,-rpath-link=.:$(subst $. ,:,$(dir $(wildcard ../lib*/lib*.so)))
$(target): %$(target-suffix):
$(CC) $(rpath) $(CFLAGS) $($@-CFLAGS) $(LDFLAGS) $($@-LDFLAGS) -o $@ \
'-Wl,-(' $(filter %.o,$^) \
- $(foreach lib,$(filter-out %.o,$+),${_libsubst}) \
+ $(foreach lib,$(filter-out %.o,$+),${_libsubst}) $($@-LDLIBS) $(LDLIBS) \
'-Wl,-)'
ifeq ($(makemode),library)