about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--crypt/Makefile2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index bf0dc7c22f..fd7923be34 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2009-04-07  Ulrich Drepper  <drepper@redhat.com>
 
+	* crypt/Makefile (LDLIBS-crypt.so): Use this variable instead of
+	depending libcrypt in -lfreebl3.
+
 	* sysdeps/unix/sysv/linux/kernel-features.h: Power also has
 	preadv/pwritev in 2.6.30.
 
diff --git a/crypt/Makefile b/crypt/Makefile
index 3f73d25ea2..b9c8797474 100644
--- a/crypt/Makefile
+++ b/crypt/Makefile
@@ -44,7 +44,7 @@ ifeq ($(nss-crypt),yes)
 CPPFLAGS-sha256-crypt.c = -DUSE_NSS -I$(shell nss-config --includedir)
 CPPFLAGS-sha512-crypt.c = -DUSE_NSS -I$(shell nss-config --includedir)
 CPPFLAGS-md5-crypt.c = -DUSE_NSS -I$(shell nss-config --includedir)
-$(objpfx)libcrypt.so: -lfreebl3
+LDLIBS-crypt.so = -lfreebl3
 else
 libcrypt-routines += md5 sha256 sha512