curl: Enable static libraries.
This commit is contained in:
@@ -2,14 +2,13 @@
|
||||
|
||||
pkgname=('curl' 'libcurl' 'libcurl-devel')
|
||||
pkgver=7.38.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Multi-protocol file transfer utility"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://curl.haxx.se"
|
||||
license=('MIT')
|
||||
depends=('ca-certificates' 'libcares' 'libcrypt' 'libidn' 'libmetalink' 'libssh2' 'openssl' 'zlib' 'heimdal-libs')
|
||||
makedepends=('libmetalink-devel' 'libcares-devel' 'libcrypt-devel' 'libidn-devel' 'libssh2-devel' 'openssl-devel' 'zlib-devel' 'heimdal-devel')
|
||||
#provides=('libcurl.so')
|
||||
options=('!libtool' 'strip' '!debug')
|
||||
source=("http://curl.haxx.se/download/$pkgname-$pkgver.tar.gz"{,.asc}
|
||||
curl-7.32.0-msys2.patch
|
||||
@@ -33,6 +32,8 @@ build() {
|
||||
./configure \
|
||||
--build=${CHOST} \
|
||||
--prefix=/usr \
|
||||
--enable-shared \
|
||||
--enable-static \
|
||||
--enable-debug \
|
||||
--enable-optimize \
|
||||
--enable-ipv6 \
|
||||
@@ -77,7 +78,7 @@ package_libcurl() {
|
||||
package_libcurl-devel() {
|
||||
pkgdesc="Libcurl headers and libraries"
|
||||
depends=("libcurl=${pkgver}" 'libcares-devel' 'libcrypt-devel' 'libmetalink-devel' 'libidn-devel' 'libssh2-devel' 'openssl-devel' 'zlib-devel' 'heimdal-devel')
|
||||
options=('!staticlibs')
|
||||
options=('staticlibs')
|
||||
groups=('development')
|
||||
|
||||
mkdir -p ${pkgdir}/usr/bin
|
||||
|
||||
Reference in New Issue
Block a user