This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Run db-symbols if $(build-shared) is yes


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]