summaryrefslogtreecommitdiffstats
path: root/share/mk
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2015-10-16 05:06:43 +0000
committerbdrewery <bdrewery@FreeBSD.org>2015-10-16 05:06:43 +0000
commit3e0a363d0d108468daa01e94af8e301fc54d03c3 (patch)
tree9370602bd03c466867c0bdb4d4602d182dcaf804 /share/mk
parentfb91ce0f235cb82bde4703ee6865d80ff9bee816 (diff)
downloadFreeBSD-src-3e0a363d0d108468daa01e94af8e301fc54d03c3.zip
FreeBSD-src-3e0a363d0d108468daa01e94af8e301fc54d03c3.tar.gz
Similar to r289355, /usr/tests is within the base system so put the symbols
into /usr/lib/debug. This covers some missing files: /usr/tests/libexec/rtld-elf/.debug /usr/tests/libexec/rtld-elf/.debug/libpythagoras.so.0.debug /usr/tests/lib/libc/tls/.debug /usr/tests/lib/libc/tls/.debug/libh_tls_dynamic.so.1.debug /usr/tests/lib/libc/tls/.debug/h_tls_dlopen.so.debug /usr/tests/lib/libthr/dlopen/.debug /usr/tests/lib/libthr/dlopen/.debug/h_pthread_dlopen.so.1.debug /usr/tests/lib/libxo/.debug /usr/tests/lib/libxo/.debug/libenc_test.so.debug Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/bsd.lib.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk
index 8c8a014..e906ab7 100644
--- a/share/mk/bsd.lib.mk
+++ b/share/mk/bsd.lib.mk
@@ -140,7 +140,7 @@ SHLIB_NAME_FULL=${SHLIB_NAME}.full
# Use ${DEBUGDIR} for base system debug files, else .debug subdirectory
.if ${_SHLIBDIR} == "/boot" ||\
${SHLIBDIR:C%/lib(/.*)?$%/lib%} == "/lib" ||\
- ${SHLIBDIR:C%/usr/lib(32)?(/.*)?%/usr/lib%} == "/usr/lib"
+ ${SHLIBDIR:C%/usr/(tests/)?lib(32|exec)?(/.*)?%/usr/lib%} == "/usr/lib"
DEBUGFILEDIR=${DEBUGDIR}${_SHLIBDIR}
.else
DEBUGFILEDIR=${_SHLIBDIR}/.debug
OpenPOWER on IntegriCloud