summaryrefslogtreecommitdiff
path: root/libcrypt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libcrypt/Makefile')
-rw-r--r--libcrypt/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/libcrypt/Makefile b/libcrypt/Makefile
index 4d6354b73..8d72741ef 100644
--- a/libcrypt/Makefile
+++ b/libcrypt/Makefile
@@ -48,8 +48,9 @@ $(OBJS): %.o : %.c
$(OBJ): Makefile
shared: all
- $(TARGET_CC) $(TARGET_LDFLAGS) -nostdlib -shared -o $(LIBCRYPT_SHARED_FULLNAME) \
- -Wl,-soname,$(LIBCRYPT_SHARED).$(MAJOR_VERSION) -Wl,--whole-archive $(LIBCRYPT) -lc
+ $(LD) $(LDFLAGS) -o $(LIBCRYPT_SHARED_FULLNAME) \
+ -soname=$(LIBCRYPT_SHARED).$(MAJOR_VERSION) \
+ --whole-archive $(LIBCRYPT);
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;