Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libc/tls Deal with all objdir methods.



details:   https://anonhg.NetBSD.org/src/rev/32d531e7d803
branches:  trunk
changeset: 763118:32d531e7d803
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Mar 10 14:31:07 2011 +0000

description:
Deal with all objdir methods.

diffstat:

 tests/lib/libc/tls/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r b627756aa20d -r 32d531e7d803 tests/lib/libc/tls/Makefile
--- a/tests/lib/libc/tls/Makefile       Thu Mar 10 14:27:31 2011 +0000
+++ b/tests/lib/libc/tls/Makefile       Thu Mar 10 14:31:07 2011 +0000
@@ -1,15 +1,17 @@
-# $NetBSD: Makefile,v 1.1 2011/03/09 23:10:07 joerg Exp $
+# $NetBSD: Makefile,v 1.2 2011/03/10 14:31:07 skrll Exp $
 
 .include <bsd.own.mk>
 
 TESTSDIR=      ${TESTSBASE}/lib/libc/tls
 SUBDIR+=       dso
 
+DSODIR!=       cd ${.CURDIR}/../tls_dso && ${PRINTOBJDIR}
+
 TESTS_C+=      t_tls_static t_tls_dynamic t_tls_dlopen
 SRCS.t_tls_static=     t_tls_static.c t_tls_static_helper.c
 LDADD.t_tls_static+=   -lpthread -static
 LDADD.t_tls_dynamic+=  -lpthread \
-                       -Wl,-rpath,${TESTSDIR} -L../tls_dso -lh_tls_dynamic
+                       -Wl,-rpath,${TESTSDIR} -L${DSODIR} -lh_tls_dynamic
 LDADD.t_tls_dlopen+=   -lpthread -Wl,-rpath,${TESTSDIR} -Wl,-export-dynamic
 
 .include <bsd.test.mk>



Home | Main Index | Thread Index | Old Index