From dc015081c0d12a8cbcccac836c67d432e1f49ca3 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Sun, 27 May 2018 19:20:03 +0200 Subject: main/libxml2: add libxml2.a to -dev --- main/libxml2/APKBUILD | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'main/libxml2') diff --git a/main/libxml2/APKBUILD b/main/libxml2/APKBUILD index 25b9560e3a..210994e358 100644 --- a/main/libxml2/APKBUILD +++ b/main/libxml2/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Carlo Landmeter pkgname=libxml2 pkgver=2.9.7 -pkgrel=0 +pkgrel=1 pkgdesc="XML parsing library, version 2" url="http://www.xmlsoft.org/" arch="all" @@ -42,7 +42,6 @@ libxml2_configure() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --disable-static \ "$@" } @@ -65,8 +64,12 @@ check() { package() { cd "$builddir" + make -j1 DESTDIR="$pkgdir" install make -j1 -C "$builddir"-python2/python DESTDIR="$pkgdir" install + + # We don't need static lib for python bindings. + rm "$pkgdir"/usr/lib/python*/site-packages/*.a } dev() { -- cgit v1.2.3