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