summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorsbd <sbd>2010-05-16 06:59:26 +0000
committersbd <sbd>2010-05-16 06:59:26 +0000
commitd8befa37c13a096d001b88160242239208c74255 (patch)
tree668af1625107a0795397f67ed9e94461f6a3c7b7 /mk
parentd125ef44b3cdb46d7f0ab9b77466ee37e91bbf69 (diff)
downloadpkgsrc-d8befa37c13a096d001b88160242239208c74255.tar.gz
Use mk/check/check-shlibs-elf.awk for the run-time search-path check on
linux.
Diffstat (limited to 'mk')
-rw-r--r--mk/platform/Linux.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/platform/Linux.mk b/mk/platform/Linux.mk
index c958667d729..2afe063a1b3 100644
--- a/mk/platform/Linux.mk
+++ b/mk/platform/Linux.mk
@@ -1,4 +1,4 @@
-# $NetBSD: Linux.mk,v 1.37 2010/03/18 22:46:01 sbd Exp $
+# $NetBSD: Linux.mk,v 1.38 2010/05/16 06:59:26 sbd Exp $
#
# Variable definitions for the Linux operating system.
@@ -61,6 +61,8 @@ IMAKE_MANINSTALL?= maninstall catinstall
_OPSYS_EMULDIR.linux= # empty
_OPSYS_EMULDIR.linux32= # empty
+_OPSYS_SYSTEM_RPATH= /lib${LIBABISUFFIX}:/usr/lib${LIBABISUFFIX}
+
.if exists(/usr/include/netinet6) || exists(/usr/include/linux/in6.h)
_OPSYS_HAS_INET6= yes # IPv6 is standard
.else
@@ -84,7 +86,7 @@ _OPSYS_NO_WHOLE_ARCHIVE_FLAG= -Wl,--no-whole-archive
_STRIPFLAG_CC?= ${_INSTALL_UNSTRIPPED:D:U-s} # cc(1) option to strip
_STRIPFLAG_INSTALL?= ${_INSTALL_UNSTRIPPED:D:U-s} # install(1) option to strip
-_OPSYS_CAN_CHECK_SHLIBS= no # can't use readelf in check/bsd.check-vars.mk
+_OPSYS_CAN_CHECK_SHLIBS= yes # use readelf in check/bsd.check-vars.mk
# check for maximum command line length and set it in configure's environment,
# to avoid a test required by the libtool script that takes forever.