diff options
author | ru <ru@FreeBSD.org> | 2002-07-19 18:40:13 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-07-19 18:40:13 +0000 |
commit | ac25bfee41ebab7f11929de59784fd34782b3d4d (patch) | |
tree | 48668d5bfe668fa0f05e6d7e715150f679835814 /share/mk/bsd.lib.mk | |
parent | cf80a92297b17b3d04997f22434f885b50de6af8 (diff) | |
download | FreeBSD-src-ac25bfee41ebab7f11929de59784fd34782b3d4d.zip FreeBSD-src-ac25bfee41ebab7f11929de59784fd34782b3d4d.tar.gz |
Only define SHLIB_LINK if SHLIB_NAME matches the *.so.* pattern.
(Useful for RELENG_4's lib/libpam/modules.)
Diffstat (limited to 'share/mk/bsd.lib.mk')
-rw-r--r-- | share/mk/bsd.lib.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index 0d3e71e..4a1f006 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -16,7 +16,7 @@ .if !defined(SHLIB_NAME) && defined(LIB) && defined(SHLIB_MAJOR) SHLIB_NAME= lib${LIB}.so.${SHLIB_MAJOR} .endif -.if defined(SHLIB_NAME) +.if defined(SHLIB_NAME) && ${SHLIB_NAME:M*.so.*} SHLIB_LINK?= ${SHLIB_NAME:R} .endif SONAME?= ${SHLIB_NAME} |