From 140c95cce6a3f13e1a9d85613c3719163734f830 Mon Sep 17 00:00:00 2001 From: yaoxingyu Date: Thu, 7 Nov 2024 15:22:28 +0800 Subject: [PATCH] update HPKBUILD format of libucl Signed-off-by: yaoxingyu --- thirdparty/libucl/HPKBUILD | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/thirdparty/libucl/HPKBUILD b/thirdparty/libucl/HPKBUILD index 2730c124..927a16bd 100644 --- a/thirdparty/libucl/HPKBUILD +++ b/thirdparty/libucl/HPKBUILD @@ -39,8 +39,11 @@ prepare() { build() { cd $builddir - ${OHOS_SDK}/native/build-tools/cmake/bin/cmake "$@" -DCMAKE_C_FLAGS="-Wno-unused-command-line-argument" \ - -DCMAKE_CXX_FLAGS="-Wno-unused-command-line-argument" -B$ARCH-build -S./ > $buildlog 2>&1 + PKG_CONFIG_LIBDIR="${pkgconfigpath}" \ + ${OHOS_SDK}/native/build-tools/cmake/bin/cmake "$@" \ + -DCMAKE_C_FLAGS="-Wno-unused-command-line-argument" \ + -DCMAKE_CXX_FLAGS="-Wno-unused-command-line-argument" \ + -B$ARCH-build -S./ > $buildlog 2>&1 $MAKE VERBOSE=1 -C $ARCH-build >> $buildlog 2>&1 ret=$? cd $OLDPWD -- Gitee