summaryrefslogtreecommitdiff
path: root/Makeconf
diff options
context:
space:
mode:
Diffstat (limited to 'Makeconf')
-rw-r--r--Makeconf3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makeconf b/Makeconf
index f0c4fbc3..a7ca8bba 100644
--- a/Makeconf
+++ b/Makeconf
@@ -155,7 +155,8 @@ HURDLIBS-files := $(foreach lib,$(HURDLIBS), ../$(lib)/$(lib).so)
else
HURDLIBS-files := $(foreach lib,$(HURDLIBS), ../$(lib)/$(lib).a)
endif
-HURDLIBS-libs := $(foreach lib,$(HURDLIBS), -L../$(lib) -l$(lib))
+HURDLIBS-libs := $(foreach lib,$(HURDLIBS), -L../$(lib) \
+ $(patsubst lib%,-l%,$(lib)))
# Building the target
ifeq ($(doinst),one)