diff options
Diffstat (limited to 'libcrypt/Makefile')
-rw-r--r-- | libcrypt/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcrypt/Makefile b/libcrypt/Makefile index 7a449745e..73bebd9db 100644 --- a/libcrypt/Makefile +++ b/libcrypt/Makefile @@ -48,9 +48,9 @@ $(OBJS): %.o : %.c $(OBJ): Makefile shared: all - $(LD) $(LDFLAGS) -o $(LIBCRYPT_SHARED_FULLNAME) \ - -soname=$(LIBCRYPT_SHARED).$(MAJOR_VERSION) \ - --whole-archive $(LIBCRYPT) -Bdynamic -L$(TOPDIR)/lib -lc; + $(LD) $(LDFLAGS) -soname=$(LIBCRYPT_SHARED).$(MAJOR_VERSION) \ + -o $(LIBCRYPT_SHARED_FULLNAME) --whole-archive $(LIBCRYPT) \ + --no-whole-archive -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; |