opencollada: fix cross
This commit is contained in:
parent
d7e7289893
commit
37c9be6988
@ -1,7 +1,7 @@
|
||||
# Template file for 'opencollada'
|
||||
pkgname=opencollada
|
||||
version=1.6.36
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="OpenCOLLADA-${version}"
|
||||
build_style=cmake
|
||||
configure_args="-DUSE_SHARED=TRUE"
|
||||
@ -13,7 +13,12 @@ license="GPL-3"
|
||||
homepage="https://github.com/KhronosGroup/OpenCOLLADA"
|
||||
distfiles="https://github.com/KhronosGroup/OpenCOLLADA/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
|
||||
checksum=774b41611ab3ebb3a6008d32bcfd326d4ac1545d5316ba383b4ae90f16335701
|
||||
nocross="Cross builds fail to find symbols from libOpenCOLLADAStreamWriter.so"
|
||||
|
||||
CXXFLAGS="-fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
|
||||
if [ -n "$CROSS_BUILD" ]; then
|
||||
# Needs to find build/lib/libbuffer.so when cross linking
|
||||
LDFLAGS="-Wl,-rpath,lib"
|
||||
fi
|
||||
|
||||
post_install() {
|
||||
# Move libraries to /usr/lib to avoid adding to /etc/ld.so.conf.d
|
||||
|
Loading…
x
Reference in New Issue
Block a user