Revert "cjs: fix cross build"

This reverts commit 570928df0e.

Fix it on the side of gobject-introspection.
This commit is contained in:
Jürgen Buchmüller 2020-03-25 00:46:59 +01:00
parent a12be2cfc1
commit 088380d350

View file

@ -19,17 +19,8 @@ checksum=7dab9615c41d9cb3b2409b2aa6cb9813ef5762f8c62526f54b4b3734079961f6
pre_configure() {
cp ${FILESDIR}/ax_code_coverage.m4 m4/
if [ ! -d "${XBPS_CROSS_BASE}/usr/share/gobject-introspection-1.0/tests" ]; then
# /usr/share/gobject-introspection-1.0/tests missing in cross builds
cp -aR /usr/share/gobject-introspection-1.0/tests \
${XBPS_CROSS_BASE}/usr/share/gobject-introspection-1.0
fi
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
# In case it was copied make sure it's removed
rm -rf ${XBPS_CROSS_BASE}/usr/share/gobject-introspection-1.0/tests
NOCONFIGURE=1 ./autogen.sh
}
cjs-devel_package() {