summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makeconf9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makeconf b/Makeconf
index e0f6a921..fba23e27 100644
--- a/Makeconf
+++ b/Makeconf
@@ -149,16 +149,17 @@ install:
# a variable above with the complete file name to find it.
# Yippee! A use for computed variable references!
HURDLIBS-files := $(foreach var,$(HURDLIBS),$($(var)))
-#HURDLIBS-libs := $(foreach lib,$(HURDLIBS-files), \
-# -L$(dir $(lib)) \
-# $(patsubst lib%.a,-l%,$(notdir $(lib))))
+HURDLIBS-libs := $(foreach lib,$(HURDLIBS-files), \
+ -L$(dir $(lib)) \
+ $(patsubst lib%.a,-l%,$(notdir $(lib))))
LDFLAGS += -static
# Building the target
ifeq ($(doinst),one)
$(target): $(OBJS) $(HURDLIBS-files) $(OTHERLIBS) $(libc)
- $(CC) $(CFLAGS) $(LDFLAGS) -o $(target) '-Wl,-(' $+ '-Wl,-)'
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $(target) '-Wl,-(' \
+ $(OBJS) $(HURDLIBS-libs) $(OTHERLIBS) $(libc) '-Wl,-)'
endif