]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Quiet make warning under --disable-shared.
authorRoland McGrath <roland@hack.frob.com>
Fri, 28 Sep 2012 21:33:40 +0000 (14:33 -0700)
committerRoland McGrath <roland@hack.frob.com>
Fri, 28 Sep 2012 21:33:40 +0000 (14:33 -0700)
ChangeLog
nss/Makefile

index ab2620768e4cab429227e6b3a2b6ad1399cdba5b..d3e6acfd9d338a2c1e751d6b4886cd2ec21539e2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2012-09-28  Roland McGrath  <roland@hack.frob.com>
 
+       * 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.
index a272ebe13d434dd5f029fe41451eeae9a6cdb079..eecf57e205d3d6beafd7d0e48cb5bb6826f378ac 100644 (file)
@@ -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)