Add SHLIB_CXX to allow building a C++ shared library without a static one.
Submitted by: ngie Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
83f2907550
commit
21e2745698
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=298082
@ -4,12 +4,17 @@
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.if defined(LIB_CXX)
|
||||
LIB= ${LIB_CXX}
|
||||
.if defined(LIB_CXX) || defined(SHLIB_CXX)
|
||||
_LD= ${CXX}
|
||||
.else
|
||||
_LD= ${CC}
|
||||
.endif
|
||||
.if defined(LIB_CXX)
|
||||
LIB= ${LIB_CXX}
|
||||
.endif
|
||||
.if defined(SHLIB_CXX)
|
||||
SHLIB= ${SHLIB_CXX}
|
||||
.endif
|
||||
|
||||
LIB_PRIVATE= ${PRIVATELIB:Dprivate}
|
||||
# Set up the variables controlling shared libraries. After this section,
|
||||
|
Loading…
Reference in New Issue
Block a user