diff options
-rw-r--r-- | extra/nss_ldap/PKGBUILD | 1 | ||||
-rw-r--r-- | extra/pam_ldap/PKGBUILD | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/extra/nss_ldap/PKGBUILD b/extra/nss_ldap/PKGBUILD index 50c4eb028..28ad9366f 100644 --- a/extra/nss_ldap/PKGBUILD +++ b/extra/nss_ldap/PKGBUILD @@ -17,6 +17,7 @@ md5sums=('c1cb02d1a85538cf16bca6f6a562abe4') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure \ + --build=$CHOST --host=$CHOST \ --prefix=/usr \ --with-ldap-conf-file=/etc/nss_ldap.conf \ --with-ldap=openldap \ diff --git a/extra/pam_ldap/PKGBUILD b/extra/pam_ldap/PKGBUILD index 70852eb70..bff718b46 100644 --- a/extra/pam_ldap/PKGBUILD +++ b/extra/pam_ldap/PKGBUILD @@ -19,7 +19,8 @@ build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --libdir=/usr/lib \ --with-ldap-conf-file=/etc/pam_ldap.conf \ - --mandir=/usr/share/man + --mandir=/usr/share/man \ + --build=$CHOST --host=$CHOST PATH="${PATH}:${srcdir}/${pkgname}-${pkgver}" make } |