summaryrefslogtreecommitdiff
path: root/libutil/Makefile
diff options
context:
space:
mode:
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 4609086df..1ea51ef83 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);
+ --whole-archive $(LIBUTIL) -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/;