Quiet make warning under --disable-shared.

This commit is contained in:
Roland McGrath 2012-09-28 14:33:40 -07:00
parent 91363dbbb9
commit 6bacf05bfd
2 changed files with 5 additions and 0 deletions

View File

@ -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.

View 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)