summaryrefslogtreecommitdiff
path: root/Makeconf
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-28 20:03:38 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-28 20:03:38 +0000
commitfc407fd91224ec5ffa59d5ed31acb90156e0358f (patch)
tree3eeee63e1cc095cdf25c1713ed23af11a728f76a /Makeconf
parenta56af8e25d5c1a2b7a8cf38e4d283866f9be447f (diff)
(HURDLIBS-libs): Restore variable definition.
($(target)): Use HURDLIBS-libs instead of HURDLIBS-files.
Diffstat (limited to 'Makeconf')
-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