]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 14 Oct 2004 20:55:58 +0000 (20:55 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 14 Oct 2004 20:55:58 +0000 (20:55 +0000)
* nscd/Makefile: When using compilers without -fpie support, also
link with -lselinux if necessary.
Patch by Arkadiusz Miskiewicz <arekm@pld-linux.org>.

ChangeLog
nscd/Makefile

index fa15952df0350dadd17da3dcc6b5f7080e3c2c3a..5096e3260820c2ca22dc1776eeb0a5c2d76c5873 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2004-10-14  Ulrich Drepper  <drepper@redhat.com>
 
+       * nscd/Makefile: When using compilers without -fpie support, also
+       link with -lselinux if necessary.
+       Patch by Arkadiusz Miskiewicz <arekm@pld-linux.org>.
+
        * nscd/connections.c (nscd_init): Remove file if not persistent
        and not shared.  Patch by Jerome Borsboom <j.borsboom@erasmusmc.nl>.
 
index 70a35198c2e0ca208c8490963c9d1529ef34d5e7..b21edc2b79f21543021da092d5d341158379cdc0 100644 (file)
@@ -123,10 +123,10 @@ $(objpfx)nscd_nischeck: $(objpfx)nscd_nischeck.o
 
 ifeq ($(build-shared),yes)
 $(objpfx)nscd: $(common-objpfx)rt/librt.so $(shared-thread-library) \
-              $(common-objpfx)nis/libnsl.so
+              $(common-objpfx)nis/libnsl.so $(selinux-LIBS)
 $(objpfx)nscd_nischeck: $(common-objpfx)nis/libnsl.so
 else
 $(objpfx)nscd: $(common-objpfx)rt/librt.a $(static-thread-library) \
-              $(common-objpfx)nis/libnsl.a
+              $(common-objpfx)nis/libnsl.a $(selinux-LIBS)
 $(objpfx)nscd_nischeck: $(common-objpfx)nis/libnsl.a
 endif