diff options
author | joerg <joerg@pkgsrc.org> | 2014-11-25 18:23:49 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2014-11-25 18:23:49 +0000 |
commit | d8b1337659775b44f28553b809380dc7a19d59e3 (patch) | |
tree | f10c72239d0a739333c251cae79c9827c5d28e89 /mk | |
parent | 6ec57dbebc544f11a5e94ac8497ba947985fa2ed (diff) | |
download | pkgsrc-d8b1337659775b44f28553b809380dc7a19d59e3.tar.gz |
Mirror old wrapper code and override _LIBTOOL / _SHLIBTOOL only in the
case of USE_LIBTOOL.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/cwrappers.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/cwrappers.mk b/mk/cwrappers.mk index 36bafbe31f1..4e2873c6e24 100644 --- a/mk/cwrappers.mk +++ b/mk/cwrappers.mk @@ -1,4 +1,4 @@ -# $NetBSD: cwrappers.mk,v 1.1 2014/11/24 00:32:31 joerg Exp $ +# $NetBSD: cwrappers.mk,v 1.2 2014/11/25 18:23:49 joerg Exp $ # # This Makefile fragment implements integration of pkgtools/cwrappers. @@ -66,6 +66,8 @@ generate-cwrapper: . endfor .endfor +.if defined(USE_LIBTOOL) _LIBTOOL= ${CWRAPPERS_BIN_DIR}/libtool _SHLIBTOOL= ${CWRAPPERS_BIN_DIR}/shlibtool +.endif PREPEND_PATH+= ${CWRAPPERS_BIN_DIR} |