summaryrefslogtreecommitdiff
path: root/libutil
diff options
context:
space:
mode:
Diffstat (limited to 'libutil')
-rw-r--r--libutil/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/libutil/Makefile b/libutil/Makefile
index a6351a26f..7ed8239e2 100644
--- a/libutil/Makefile
+++ b/libutil/Makefile
@@ -50,9 +50,9 @@ $(OBJS): %.o : %.c
$(STRIPTOOL) -x -R .note -R .comment $*.o
shared: all
- $(LD) $(LDFLAGS) -o $(LIBUTIL_SHARED_FULLNAME) \
- -soname=$(LIBUTIL_SHARED).$(MAJOR_VERSION) \
- --whole-archive $(LIBUTIL) -Bdynamic -L$(TOPDIR)/lib -lc;
+ $(LD) $(LDFLAGS) -soname=$(LIBUTIL_SHARED).$(MAJOR_VERSION) \
+ -o $(LIBUTIL_SHARED_FULLNAME) --whole-archive $(LIBUTIL) \
+ --no-whole-archive -L$(TOPDIR)/lib -lc;
install -d $(TOPDIR)lib
rm -f $(TOPDIR)lib/$(LIBUTIL_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBUTIL_SHARED).$(MAJOR_VERSION)
install -m 644 $(LIBUTIL_SHARED_FULLNAME) $(TOPDIR)lib/;