libxslt: Drop python2 extensions
This commit is contained in:
@@ -4,7 +4,7 @@ _realname=libxslt
|
||||
pkgbase=mingw-w64-${_realname}
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
|
||||
pkgver=1.1.34
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="XML stylesheet transformation library (mingw-w64)"
|
||||
arch=('any')
|
||||
url="http://xmlsoft.org/XSLT/"
|
||||
@@ -13,7 +13,6 @@ depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs"
|
||||
"${MINGW_PACKAGE_PREFIX}-libxml2"
|
||||
"${MINGW_PACKAGE_PREFIX}-libgcrypt")
|
||||
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
|
||||
"${MINGW_PACKAGE_PREFIX}-python2"
|
||||
"${MINGW_PACKAGE_PREFIX}-pkg-config")
|
||||
options=('strip' 'staticlibs')
|
||||
install=${_realname}-${CARCH}.install
|
||||
@@ -79,11 +78,8 @@ build() {
|
||||
--with-crypto \
|
||||
--with-plugins \
|
||||
--with-libxml-prefix=${MINGW_PREFIX} \
|
||||
--with-python=${MINGW_PREFIX}/bin/python2
|
||||
--without-python
|
||||
|
||||
# Hack for mingw python
|
||||
local PREFIX_DEPS=$(cygpath -am ${MINGW_PREFIX})
|
||||
find . -type f -name "Makefile" -exec sed -i "s|${PREFIX_DEPS}|${MINGW_PREFIX}|g" {} \;
|
||||
CC=${MINGW_PREFIX}/bin/gcc make
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user