diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-06-28 20:03:38 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-06-28 20:03:38 +0000 |
commit | fc407fd91224ec5ffa59d5ed31acb90156e0358f (patch) | |
tree | 3eeee63e1cc095cdf25c1713ed23af11a728f76a | |
parent | a56af8e25d5c1a2b7a8cf38e4d283866f9be447f (diff) |
(HURDLIBS-libs): Restore variable definition.
($(target)): Use HURDLIBS-libs instead of HURDLIBS-files.
-rw-r--r-- | Makeconf | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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 |