diff options
author | jlam <jlam> | 2005-02-15 03:18:50 +0000 |
---|---|---|
committer | jlam <jlam> | 2005-02-15 03:18:50 +0000 |
commit | 310194c17a4cdea1f299f950393d310de60b1568 (patch) | |
tree | 57cbea82d306f483bfeb9364fa9ec0b95186b343 /mk/buildlink3/bsd.buildlink3.mk | |
parent | fc9be6fe6c230a9cfb96597f4c9fa9c4ba2edb1b (diff) | |
download | pkgsrc-310194c17a4cdea1f299f950393d310de60b1568.tar.gz |
The libtool wrapper should always do the compiler wrapper transformations,
so move the setting for _WRAP_ARG_PP.LIBTOOL out of conditional areas of
bsd.wrapper.mk and set it globally in bsd.buildlink3.mk with the rest of
the libtool wrapper variables.
Diffstat (limited to 'mk/buildlink3/bsd.buildlink3.mk')
-rw-r--r-- | mk/buildlink3/bsd.buildlink3.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mk/buildlink3/bsd.buildlink3.mk b/mk/buildlink3/bsd.buildlink3.mk index 34d7ac51da5..b9d741db267 100644 --- a/mk/buildlink3/bsd.buildlink3.mk +++ b/mk/buildlink3/bsd.buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.buildlink3.mk,v 1.165 2004/11/30 14:50:37 jlam Exp $ +# $NetBSD: bsd.buildlink3.mk,v 1.166 2005/02/15 03:18:50 jlam Exp $ # # Copyright (c) 2004 The NetBSD Foundation, Inc. # All rights reserved. @@ -1004,6 +1004,12 @@ _BLNK_LIBTOOL_FIX_LA= ${WRAPPER_TMPDIR}/libtool-fix-la # We need to "unbuildlinkify" any libtool archives. _BLNK_WRAP_LT_UNTRANSFORM_SED= ${SUBST_SED.unwrap} +# The libtool wrapper should do all of the same transformations as the +# compiler wrapper since the primary mode of operation of the wrapper +# assumes it's being in either compiler or link mode. +# +_WRAP_ARG_PP.LIBTOOL= ${_WRAP_ARG_PP.CC} + _WRAP_BUILDCMD.LIBTOOL= ${WRAPPER_TMPDIR}/buildcmd-libtool _WRAP_CACHE.LIBTOOL= ${WRAPPER_TMPDIR}/cache-libtool _WRAP_CACHE_BODY.LIBTOOL= ${WRAPPER_TMPDIR}/cache-body-libtool |