This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] Run db-symbols if $(build-shared) is yes
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Mon, 10 Sep 2012 06:39:24 -0700
- Subject: [PATCH] Run db-symbols if $(build-shared) is yes
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
Hi,
db-symbols test depends on DSO. This patch enables it only if
$(build-shared) is yes. OK to install?
Thanks.
H.J.
----
2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
[BZ #13679]
* Makefile (tests): Depend on $(objpfx)db-symbols.out only if
$(build-shared) is yes.
diff --git a/nptl_db/Makefile b/nptl_db/Makefile
index d15fb9e..b90bcd2 100644
--- a/nptl_db/Makefile
+++ b/nptl_db/Makefile
@@ -57,7 +57,9 @@ include ../Rules
$(objpfx)libthread_db.so: $(common-objpfx)libc.so \
$(common-objpfx)libc_nonshared.a
+ifeq (yes,$(build-shared))
tests: $(objpfx)db-symbols.out
+endif
$(objpfx)db-symbols.out: $(objpfx)db-symbols.v.i \
$(common-objpfx)nptl/libpthread.so
readelf -W -s $(filter %.so,$^) | $(AWK) -f $< > $@
--
1.7.11.4