summaryrefslogtreecommitdiff
path: root/Makeconf
diff options
context:
space:
mode:
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 $< $@