summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makeconf2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makeconf b/Makeconf
index 201d205d..577e61c4 100644
--- a/Makeconf
+++ b/Makeconf
@@ -173,7 +173,7 @@ _libsubst=${libsubst$(patsubst %,-override,${libsubst-override})}
# dependencies of other shared objects it encounters.
rpath := -Wl,-rpath-link=.:$(subst $. ,:,$(dir $(wildcard ../lib*/lib*.so)))
-$(target): %: $(_objs) $(OTHERLIBS)
+$(target): %$(target-suffix): $(_objs) $(OTHERLIBS)
$(CC) $(rpath) $(CFLAGS) $($@-CFLAGS) $(LDFLAGS) $($@-LDFLAGS) -o $@ \
'-Wl,-(' $(filter %.o,$^) \
$(foreach lib,$(filter-out %.o,$+),${_libsubst}) \