summaryrefslogtreecommitdiff
path: root/console-client
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2019-09-14 02:56:44 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2019-09-14 02:57:12 +0200
commit6be88d4142eec781fd0de6c80b4b4fdaef20c5df (patch)
treec73fd17584397c70e9b86c39537027260275c41f /console-client
parent670a1ff8f97962efd6b27436b50fc51b62683c25 (diff)
console-client libraries: fix link against external libraries
This is needed since "as-needed" is now the default. * console-client/Makefile (%.so.$(hurd-version)): Put $^ before -l flags.
Diffstat (limited to 'console-client')
-rw-r--r--console-client/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/console-client/Makefile b/console-client/Makefile
index 1b59b99d..e4d9504d 100644
--- a/console-client/Makefile
+++ b/console-client/Makefile
@@ -94,7 +94,7 @@ $(DESTDIR)$(module-dir)/%: %
%.so.$(hurd-version):
$(CC) -shared -Wl,-soname=$@ -o $@ $(lpath) \
$(CFLAGS) $($*-CFLAGS) $(LDFLAGS) \
- '-Wl,-(' $($*-LDLIBS) '-Wl,-)' $^
+ $^ '-Wl,-(' $($*-LDLIBS) '-Wl,-)'
lex.c: lex.l parser.tab.h
%.tab.h %.c: %.y