summaryrefslogtreecommitdiff
path: root/mk/check
diff options
context:
space:
mode:
Diffstat (limited to 'mk/check')
-rw-r--r--mk/check/check-relro.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/check/check-relro.mk b/mk/check/check-relro.mk
index cc897de6c0a..1fc96f4206f 100644
--- a/mk/check/check-relro.mk
+++ b/mk/check/check-relro.mk
@@ -1,4 +1,4 @@
-# $NetBSD: check-relro.mk,v 1.1 2017/07/04 18:29:24 khorben Exp $
+# $NetBSD: check-relro.mk,v 1.2 2017/07/05 15:49:00 khorben Exp $
#
# This file verifies that RELRO was applied accordingly at build-time.
#
@@ -37,8 +37,8 @@ CHECK_RELRO?= no
CHECK_RELRO_SUPPORTED?= yes
CHECK_RELRO_SKIP?= # none
-# All binaries.
-_CHECK_RELRO_ERE= (bin/|sbin/|libexec/)
+# All binaries and shared libraries.
+_CHECK_RELRO_ERE= (bin/|sbin/|libexec/|\.so$$|lib/lib.*\.so)
_CHECK_RELRO_FILELIST_CMD?= ${SED} -e '/^@/d' ${PLIST} | \
(while read file; do \