diff options
author | Maarten de Vries | 2020-10-11 12:54:10 +0200 |
---|---|---|
committer | Maarten de Vries | 2020-10-11 12:54:10 +0200 |
commit | d02a145201d86e314921b24e2e13533d29fefa07 (patch) | |
tree | 413941eb539733c887bda26abdbbf8a27c2819a4 | |
parent | 3ca52e8eb8f3c7649024a05b806466ae93f8bd87 (diff) | |
download | aur-d02a145201d86e314921b24e2e13533d29fefa07.tar.gz |
Disable shared libraries, capnproto does not support it on Windows.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 4 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = mingw-w64-capnproto pkgdesc = Cap'n Proto serialization/RPC system (mingw-w64) pkgver = 0.7.0 - pkgrel = 2 + pkgrel = 3 url = https://capnproto.org/ arch = any license = MIT @@ -6,7 +6,7 @@ pkgname=mingw-w64-capnproto pkgver=0.7.0 -pkgrel=2 +pkgrel=3 pkgdesc="Cap'n Proto serialization/RPC system (mingw-w64)" arch=('any') url='https://capnproto.org/' @@ -25,7 +25,7 @@ build() { cd "$srcdir/capnproto-c++-$pkgver" for _arch in ${_architectures[@]}; do mkdir -p build-${_arch} && pushd build-${_arch} - ${_arch}-configure --with-external-capnp --enable-shared --enable-static --disable-reflection + ${_arch}-configure --with-external-capnp --disable-shared --enable-static --disable-reflection make popd done @@ -35,8 +35,7 @@ package() { for _arch in ${_architectures[@]}; do cd "${srcdir}/capnproto-c++-${pkgver}/build-${_arch}" make DESTDIR="$pkgdir" install - ${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/lib/*.dll - ${_arch}-strip --strip-debug "$pkgdir"/usr/${_arch}/lib/*.a + ${_arch}-strip --strip-debug "$pkgdir"/usr/${_arch}/lib/*.a done } |