diff --git a/thirdparty/openldap/HPKBUILD b/thirdparty/openldap/HPKBUILD index fabfd127b58ef2dfc75724db02a8933ded0bfc21..f2117fde235370bd5ada0d069a09edb988dc46f5 100644 --- a/thirdparty/openldap/HPKBUILD +++ b/thirdparty/openldap/HPKBUILD @@ -45,8 +45,9 @@ prepare() { build() { cd $builddir/$ARCH-build - ../configure "$@" --host=$host --with-yielding_select=yes >> `pwd`/build.log 2>&1 - make -j4 VERBOSE=1 >> `pwd`/build.log 2>&1 + PKG_CONFIG_LIBDIR="${pkgconfigpath}" \ + ../configure "$@" --host=$host --with-yielding_select=yes > $buildlog 2>&1 + $MAKE VERBOSE=1 >> $buildlog 2>&1 ret=$? cd $OLDPWD return $ret @@ -54,7 +55,7 @@ build() { package() { cd $builddir/$ARCH-build - make install >> `pwd`/build.log 2>&1 + $MAKE install >> $buildlog 2>&1 cd $OLDPWD if [ $ARCH == ${archs[0]} ]; then