diff options
author | bapt <bapt@FreeBSD.org> | 2015-05-26 01:09:56 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-05-26 01:09:56 +0000 |
commit | 436ccbe1c67d56654eccf91e3507e1b46d185272 (patch) | |
tree | cbbe1738d10e761ff52b86564164faa63df556b3 /share/mk/src.libnames.mk | |
parent | c166b0244342f7103f80782dc6490a41baf5b6c8 (diff) | |
download | FreeBSD-src-436ccbe1c67d56654eccf91e3507e1b46d185272.zip FreeBSD-src-436ccbe1c67d56654eccf91e3507e1b46d185272.tar.gz |
Considers cases when NO_SHARED?=[no|NO] as dynamically linking
This reduces overlinking for parts of the build system where NO_SHARED is
set to no/NO
Diffstat (limited to 'share/mk/src.libnames.mk')
-rw-r--r-- | share/mk/src.libnames.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/src.libnames.mk b/share/mk/src.libnames.mk index 181bbb4..bfb235c 100644 --- a/share/mk/src.libnames.mk +++ b/share/mk/src.libnames.mk @@ -255,7 +255,7 @@ LDADD_${_l}?= -lprivate${_l} .else LDADD_${_l}?= ${LDADD_${_l}_L} -l${_l} .endif -.if defined(_DP_${_l}) && defined(NO_SHARED) +.if defined(_DP_${_l}) && defined(NO_SHARED) && (${NO_SHARED} != "no" && ${NO_SHARED} != "NO") .for _d in ${_DP_${_l}} DPADD_${_l}+= ${DPADD_${_d}} LDADD_${_l}+= ${LDADD_${_d}} |