summaryrefslogtreecommitdiff
path: root/libutil/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-01-16 06:35:26 +0000
committerEric Andersen <andersen@codepoet.org>2002-01-16 06:35:26 +0000
commit54fd5bd31bba892a56bebeb3bd64797a76d80336 (patch)
tree5365e03bc66db6c1083b85efd276daf531b5ddc1 /libutil/Makefile
parent92fa28346ab95b8f956365b1540a8458af286697 (diff)
Tell ld explicitly when stuff is supposed to by dynamically linked
-Erik
Diffstat (limited to 'libutil/Makefile')
-rw-r--r--libutil/Makefile2
1 files changed, 1 insertions, 1 deletions
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/;