diff --git a/thirdparty/json-c_0_17_20230812/HPKBUILD b/thirdparty/json-c_0_17_20230812/HPKBUILD index 91f8a2afa78d07cf4ff2f0fd4ce3b28447bc86c5..77c112ca4816c950ecb4d7f7878aae778275595b 100644 --- a/thirdparty/json-c_0_17_20230812/HPKBUILD +++ b/thirdparty/json-c_0_17_20230812/HPKBUILD @@ -39,8 +39,9 @@ prepare() { build() { cd $builddir - ${OHOS_SDK}/native/build-tools/cmake/bin/cmake "$@" -DDISABLE_WERROR=ON -B$ARCH-build -S./ > `pwd`/$ARCH-build/build.log 2>&1 - ${MAKE} -C$ARCH-build >> `pwd`/$ARCH-build/build.log 2>&1 + PKG_CONFIG_LIBDIR="${pkgconfigpath}" ${OHOS_SDK}/native/build-tools/cmake/bin/cmake "$@" \ + -DDISABLE_WERROR=ON -B$ARCH-build -S./ > $buildlog 2>&1 + ${MAKE} VERBOSE=1 -C$ARCH-build >> $buildlog 2>&1 ret=$? cd $OLDPWD return $ret @@ -48,7 +49,7 @@ build() { package() { cd $builddir - ${MAKE} -C$ARCH-build install >> `pwd`/$ARCH-build/build.log 2>&1 + ${MAKE} VERBOSE=1 -C$ARCH-build install >> $buildlog 2>&1 cd $OLDPWD }