summaryrefslogtreecommitdiff
path: root/Makeconf
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-03-22 07:54:04 +0000
committerRoland McGrath <roland@gnu.org>2002-03-22 07:54:04 +0000
commit619c40a5135a9924f181d5c9eab48d54034d9d5c (patch)
tree8ed4f3044f1b7ad6fa3c7cf05ed5ab7f040ec923 /Makeconf
parentaf60364ee6e3ffe0fff34af717a2272eef82b8d2 (diff)
2002-03-21 Roland McGrath <roland@frob.com>
* Makeconf ($(libname).so.$(hurd-version)): Reorder link arguments so that .map files come after the -( ... -) group.
Diffstat (limited to 'Makeconf')
-rw-r--r--Makeconf5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makeconf b/Makeconf
index caa39c8f..0cfa54d5 100644
--- a/Makeconf
+++ b/Makeconf
@@ -349,8 +349,9 @@ $(libname)_pic.a: $(patsubst %.o,%_pic.o,$(OBJS))
$(libname).so.$(hurd-version): $(patsubst %.o,%_pic.o,$(OBJS)) $(library_deps)
$(CC) -shared -Wl,-soname=$@ -o $@ \
$(rpath) $(CFLAGS) $(LDFLAGS) $($(libname).so-LDFLAGS) \
- '-Wl,-(' $^ $($(libname).so-LDLIBS) $(LDLIBS) \
- '-Wl,-)'
+ '-Wl,-(' $(filter-out %.map,$^) \
+ $($(libname).so-LDLIBS) $(LDLIBS) \
+ '-Wl,-)' $(filter %.map,$^)
$(libname).so: $(libname).so.$(hurd-version)
ln -f -s $< $@