This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[COMMITTED PATCH] Quiet make warning under --disable-shared.
- From: Roland McGrath <roland at hack dot frob dot com>
- To: libc-alpha at sourceware dot org
- Date: Fri, 28 Sep 2012 14:34:36 -0700 (PDT)
- Subject: [COMMITTED PATCH] Quiet make warning under --disable-shared.
* nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
Conditionalize target on [libnss_test1.so-version].
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)