summaryrefslogtreecommitdiffstats
path: root/libpcre
diff options
context:
space:
mode:
Diffstat (limited to 'libpcre')
-rw-r--r--libpcre/Pkgfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpcre/Pkgfile b/libpcre/Pkgfile
index 797b3a6..53b7c19 100644
--- a/libpcre/Pkgfile
+++ b/libpcre/Pkgfile
@@ -13,6 +13,8 @@ build ()
cd pcre-$version;
# Les bibliothèques sont installées dans /lib à cause de zsh.
./configure \
+ ${CHOST:+--build=${CHOST}} \
+ ${CTARGET:+--host=${CTARGET}} \
--prefix=$prefix \
--libdir=${libdir/$prefix} \
--mandir=$mandir \