From 6bacf05bfde0816659d6d7f73c063571633b8f6a Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 28 Sep 2012 14:33:40 -0700 Subject: [PATCH] Quiet make warning under --disable-shared. --- ChangeLog | 3 +++ nss/Makefile | 2 ++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index ab26207..d3e6acf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2012-09-28 Roland McGrath + * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)): + Conditionalize target on [libnss_test1.so-version]. + * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED]. * Makeconfig (nssobjdir, resolvobjdir): Remove variables. diff --git a/nss/Makefile b/nss/Makefile index a272ebe..eecf57e 100644 --- a/nss/Makefile +++ b/nss/Makefile @@ -111,6 +111,8 @@ CFLAGS-nss_test1.c = -DNOT_IN_libc=1 $(objpfx)/libnss_test1.so: $(objpfx)nss_test1.os $(common-objpfx)libc.so \ $(common-objpfx)libc_nonshared.a $(build-module) +ifdef libnss_test1.so-version $(objpfx)/libnss_test1.so$(libnss_test1.so-version): $(objpfx)/libnss_test1.so $(make-link) +endif $(objpfx)tst-nss-test1.out: $(objpfx)/libnss_test1.so$(libnss_test1.so-version) -- 2.7.4