From 59350982d0048bb18711b4c2ef32de738772bb76 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 14 Oct 2004 20:55:58 +0000 Subject: Update. * nscd/Makefile: When using compilers without -fpie support, also link with -lselinux if necessary. Patch by Arkadiusz Miskiewicz . --- nscd/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nscd') diff --git a/nscd/Makefile b/nscd/Makefile index 70a3519..b21edc2 100644 --- a/nscd/Makefile +++ b/nscd/Makefile @@ -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 -- cgit v1.1