From fc407fd91224ec5ffa59d5ed31acb90156e0358f Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Wed, 28 Jun 1995 20:03:38 +0000 Subject: (HURDLIBS-libs): Restore variable definition. ($(target)): Use HURDLIBS-libs instead of HURDLIBS-files. --- Makeconf | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'Makeconf') 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 -- cgit v1.2.3