kodi: fix cross-build after auto-create_wrksrc

This commit is contained in:
Đoàn Trần Công Danh 2022-10-28 12:02:05 +07:00
parent 60ade5f1af
commit 8960221f15
1 changed files with 3 additions and 2 deletions

View File

@ -94,8 +94,6 @@ if [ -z "$CROSS_BUILD" ]; then
else
hostmakedepends+=" libmariadbclient-devel SDL2_image-devel lzo-devel
libwaylandpp-devel"
configure_args+=" -DWITH_JSONSCHEMABUILDER:PATH=$XBPS_BUILDDIR/$wrksrc/tools/JsonSchemaBuilder
-DWITH_TEXTUREPACKER:PATH=$XBPS_BUILDDIR/$wrksrc/tools/TexturePacker"
fi
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
@ -121,6 +119,9 @@ pre_configure() {
mv tools/depends/native/$i/native/$i tools/$i
make -C tools/depends/native/$i distclean
done
configure_args+="
-DWITH_JSONSCHEMABUILDER:PATH=$wrksrc/tools/JsonSchemaBuilder
-DWITH_TEXTUREPACKER:PATH=$wrksrc/tools/TexturePacker"
fi
}