diff options
author | Roland McGrath <roland@gnu.org> | 2002-03-22 07:54:04 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-03-22 07:54:04 +0000 |
commit | 619c40a5135a9924f181d5c9eab48d54034d9d5c (patch) | |
tree | 8ed4f3044f1b7ad6fa3c7cf05ed5ab7f040ec923 | |
parent | af60364ee6e3ffe0fff34af717a2272eef82b8d2 (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.
-rw-r--r-- | Makeconf | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 $< $@ |