about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-04-07 18:34:16 +0000
committerUlrich Drepper <drepper@redhat.com>2009-04-07 18:34:16 +0000
commit3db6c9a8ed817d8c9d53b9bd63e235f4aa6f593a (patch)
treed692a7580ef5cc98f8adf28feed652eb14ffc85f
parent1a2ec17ba6dc3826855e3ad0897a87067bcdfcab (diff)
downloadglibc-3db6c9a8ed817d8c9d53b9bd63e235f4aa6f593a.tar.gz
glibc-3db6c9a8ed817d8c9d53b9bd63e235f4aa6f593a.tar.xz
glibc-3db6c9a8ed817d8c9d53b9bd63e235f4aa6f593a.zip
* crypt/Makefile (LDLIBS-crypt.so): Use this variable instead of
	depending libcrypt in -lfreebl3.
-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