summaryrefslogtreecommitdiff
path: root/libutil/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-05-12 06:19:18 +0000
committerEric Andersen <andersen@codepoet.org>2001-05-12 06:19:18 +0000
commitf0da4aa1d854ca9c2a0e652dcb1d81bbf4d971f4 (patch)
tree39dd87100094d48dbc7e8557f26d5c02d331606f /libutil/Makefile
parent249cb00d9f655778aa8a4519ee3e610a904d694d (diff)
Ok, this should finish off my massive ro-organization. The source
tree is less messy now (which helps), all libraries are placed into uClibc/lib when compiling, all libraries now use a consistant mechanism for being built, all libraries use a consistant naming scheme where the lib name includes the uClibc version number, which makes ldconfig happy and willing to work with us. -Erik
Diffstat (limited to 'libutil/Makefile')
-rw-r--r--libutil/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/libutil/Makefile b/libutil/Makefile
index f98a4c46d..70c274233 100644
--- a/libutil/Makefile
+++ b/libutil/Makefile
@@ -48,7 +48,8 @@ $(OBJS): %.o : %.c
shared: all
$(TARGET_CC) $(LDFLAGS) -shared -o $(LIBUTIL_SHARED_FULLNAME) \
- -Wl,-soname,$(LIBUTIL_SHARED).$(MAJOR_VERSION) $(OBJS) $(TOPDIR)$(SHARED_FULLNAME)
+ -Wl,-soname,$(LIBUTIL_SHARED).$(MAJOR_VERSION) -Wl,--whole-archive \
+ $(LIBUTIL) $(TOPDIR)lib/$(SHARED_FULLNAME)
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/;