diff --git a/thirdparty/cppjieba/HPKBUILD b/thirdparty/cppjieba/HPKBUILD index 4b35f8892cd72089c0c57d5bf943dfd7017764f3..20e0f184eabea0ed2aa81384d2f15005c479b2a4 100644 --- a/thirdparty/cppjieba/HPKBUILD +++ b/thirdparty/cppjieba/HPKBUILD @@ -23,7 +23,7 @@ archs=("armeabi-v7a" "arm64-v8a") license=("The MIT License") depends=() makedepends=() -source="https://codeload.github.com/yanyiwu/$pkgname/zip/refs/tags/$pkgver" +source="https://gitee.com/lycium_pkg_mirror/$pkgname/zip/refs/tags/$pkgver" buildtools="cmake" autounpack=false @@ -36,7 +36,7 @@ source envset.sh prepare() { if $cloneFlag then - git clone --branch v5.1.0 https://github.com/yanyiwu/$pkgname.git > $publicbuildlog 2>&1 + git clone --branch v5.1.0 https://gitee.com/lycium_pkg_mirror/$pkgname.git > $publicbuildlog 2>&1 ret=$? if [ $ret -ne 0 ]; then return $ret @@ -56,8 +56,9 @@ prepare() { build() { cd $builddir - ${OHOS_SDK}/native/build-tools/cmake/bin/cmake "$@" -DOHOS_ARCH=$ARCH -B$ARCH-build -S./ -L > $buildlog 2>&1 - $MAKE -C $ARCH-build > $buildlog 2>&1 + PKG_CONFIG_LIBDIR="${pkgconfigpath}" ${OHOS_SDK}/native/build-tools/cmake/bin/cmake "$@" \ + -DOHOS_ARCH=$ARCH -B$ARCH-build -S./ -L > $buildlog 2>&1 + $MAKE VERBOSE=1 -C $ARCH-build > $buildlog 2>&1 ret=$? cd $OLDPWD return $ret