diff options
author | Guillem Jover <guillem@debian.org> | 2007-10-10 02:56:39 +0300 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2007-10-11 04:19:06 +0300 |
commit | 2c0c402c9d1c3a8ef9fe4c9951a4dcbe0c1b183e (patch) | |
tree | 1de6733f3c5bf1cd2d43e4aa41b0842db864e110 /m4 | |
parent | 73d1da6222004348adf7810332651939a8380f9d (diff) | |
download | dpkg-2c0c402c9d1c3a8ef9fe4c9951a4dcbe0c1b183e.tar.gz |
Use shipped perl modules when calling perl programs at build time
Diffstat (limited to 'm4')
-rw-r--r-- | m4/arch.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/arch.m4 b/m4/arch.m4 index 59c136418..e6f242a0b 100644 --- a/m4/arch.m4 +++ b/m4/arch.m4 @@ -4,7 +4,8 @@ # the target architecture, to avoid duplicating its logic. AC_DEFUN([_DPKG_ARCHITECTURE], [ AC_REQUIRE([AC_CANONICAL_SYSTEM])dnl -$2="`cd $srcdir/scripts; ./dpkg-architecture.pl -t$target -q$1 2>/dev/null`" +$2="`cd $srcdir/scripts; \ + PERL5LIB=$(pwd) ./dpkg-architecture.pl -t$target -q$1 2>/dev/null`" ])# _DPKG_ARCHITECURE # DPKG_CPU_TYPE |