From fba6703a20699724be43f4db142b9b118c51e20e Mon Sep 17 00:00:00 2001 From: lxh Date: Fri, 8 Nov 2024 16:44:10 +0800 Subject: [PATCH] =?UTF-8?q?JRTPLIB=E5=BA=93=E7=9A=84hpkbuild=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E7=9A=84=E4=BB=A3=E7=A0=81=E8=A7=84=E8=8C=83=E6=95=B4?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lxh --- thirdparty/JRTPLIB/HPKBUILD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/thirdparty/JRTPLIB/HPKBUILD b/thirdparty/JRTPLIB/HPKBUILD index 61acdae5..5cb8281c 100644 --- a/thirdparty/JRTPLIB/HPKBUILD +++ b/thirdparty/JRTPLIB/HPKBUILD @@ -50,17 +50,17 @@ prepare() { build() { cd ${builddir} - ${OHOS_SDK}/native/build-tools/cmake/bin/cmake "$@" -B${ARCH}-build \ - -DJRTPLIB_COMPILE_TESTS=ON -S./ -L > ${buildlog} 2>&1 || return -1 + PKG_CONFIG_LIBDIR="${pkgconfigpath}" ${OHOS_SDK}/native/build-tools/cmake/bin/cmake "$@" -B${ARCH}-build \ + -DJRTPLIB_COMPILE_TESTS=ON -S./ -L > ${buildlog} 2>&1 || return -1 - ${MAKE} -C ${ARCH}-build >> ${buildlog} 2>&1 || return -1 + ${MAKE} VERBOSE=1 -C ${ARCH}-build >> ${buildlog} 2>&1 || return -1 cd ${OLDPWD} return 0 } package() { cd ${builddir}/${ARCH}-build - ${MAKE} install >> ${buildlog} 2>&1 || return -1 + ${MAKE} VERBOSE=1 install >> ${buildlog} 2>&1 || return -1 cd ${OLDPWD} return 0 } -- Gitee