summaryrefslogtreecommitdiff
path: root/libpthread
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread')
-rw-r--r--libpthread/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/Makefile b/libpthread/Makefile
index 28f5764a9..d72967e97 100644
--- a/libpthread/Makefile
+++ b/libpthread/Makefile
@@ -50,7 +50,7 @@ $(OBJ): Makefile
shared: all
$(LD) $(LDFLAGS) -o $(LIBPTHREAD_SHARED_FULLNAME) \
-soname=$(LIBPTHREAD_SHARED).$(MAJOR_VERSION) \
- --whole-archive $(LIBPTHREAD);
+ --whole-archive $(LIBPTHREAD) -L$(TOPDIR)/lib -lc;
install -d $(TOPDIR)lib
rm -f $(TOPDIR)lib/$(LIBPTHREAD_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBPTHREAD_SHARED).$(MAJOR_VERSION)
install -m 644 $(LIBPTHREAD_SHARED_FULLNAME) $(TOPDIR)lib;