From 54fd5bd31bba892a56bebeb3bd64797a76d80336 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 16 Jan 2002 06:35:26 +0000 Subject: Tell ld explicitly when stuff is supposed to by dynamically linked -Erik --- libutil/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libutil') diff --git a/libutil/Makefile b/libutil/Makefile index 1ea51ef83..a6351a26f 100644 --- a/libutil/Makefile +++ b/libutil/Makefile @@ -52,7 +52,7 @@ $(OBJS): %.o : %.c shared: all $(LD) $(LDFLAGS) -o $(LIBUTIL_SHARED_FULLNAME) \ -soname=$(LIBUTIL_SHARED).$(MAJOR_VERSION) \ - --whole-archive $(LIBUTIL) -L$(TOPDIR)/lib -lc; + --whole-archive $(LIBUTIL) -Bdynamic -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/; -- cgit v1.2.3