summaryrefslogtreecommitdiff
path: root/Makeconf
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-08-14 14:26:15 +0000
committerMiles Bader <miles@gnu.org>1996-08-14 14:26:15 +0000
commit2c586fb6c4187d2cef65d16bccebdb2f9143cd00 (patch)
tree89ae63dafe4d7732848c0918e34501663305875a /Makeconf
parentc8a38642b0c4808edc3eb27e91f25c8fd2f090af (diff)
($(target)): Add $($@-LDLIBS) $(LDLIBS) to libs.
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)