From 6be88d4142eec781fd0de6c80b4b4fdaef20c5df Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 14 Sep 2019 02:56:44 +0200 Subject: 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. --- console-client/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'console-client') 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 -- cgit v1.2.3