From 20627147202d2c18cc295afb945942eaa3a32b82 Mon Sep 17 00:00:00 2001 From: lxh Date: Mon, 11 Nov 2024 15:22:26 +0800 Subject: [PATCH] =?UTF-8?q?libmad=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/libmad/HPKBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/thirdparty/libmad/HPKBUILD b/thirdparty/libmad/HPKBUILD index efc77172..c7b7d1ea 100644 --- a/thirdparty/libmad/HPKBUILD +++ b/thirdparty/libmad/HPKBUILD @@ -72,8 +72,8 @@ build() { cd $builddir-$ARCH # 需要提前创建安装目录,否则会导致 --prefix 配置报错 mkdir -p $LYCIUM_ROOT/usr/libmad/$ARCH/ - ./configure "$@" cross_compiling=yes > build.log 2>&1 - make -j4 >> build.log 2>&1 + PKG_CONFIG_LIBDIR="${pkgconfigpath}" ./configure "$@" cross_compiling=yes > $buildlog 2>&1 + $MAKE VERBOSE=1 >> $buildlog 2>&1 # 测试dome需要单独编译 $CC minimad.c .libs/libmad.a -o minimad ret=$? @@ -84,7 +84,7 @@ build() { # 打包安装 package() { cd $builddir-$ARCH - make install >> build.log 2>&1 + $MAKE VERBOSE=1 install >> $buildlog 2>&1 cd $OLDPWD if [ $ARCH == "armeabi-v7a" ] -- Gitee