Use _OPSYS_SHLIB_TYPE instead of SHLIB_TYPE, it is not defined even after
bsd.prefs.mk. _OPSYS_SHLIB_TYPE is sufficient to check whether shlib is supported or not.
This commit is contained in:
parent
8f8dba2322
commit
6ec4c27b8b
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.1 2013/12/31 23:10:21 ryoon Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2014/01/01 09:22:05 obache Exp $
|
||||
|
||||
DISTNAME= libzen_0.4.29
|
||||
PKGNAME= ${DISTNAME:S/_/-/}
|
||||
|
@ -23,8 +23,9 @@ PKGCONFIG_OVERRIDE+= Project/GNU/Library/libzen.pc.in
|
|||
|
||||
CONFIGURE_DIRS+= Project/GNU/Library
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
# Enable shared library
|
||||
.if empty(SHLIB_TYPE:Mnone)
|
||||
.if empty(_OPSYS_SHLIB_TYPE:Mnone)
|
||||
CONFIGURE_ARGS+= --enable-shared
|
||||
.endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue