aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2020-08-07 12:35:36 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2020-08-07 12:35:48 +0000
commit14c2185c2a6a35ff7ec940b346e0505bbfa244d8 (patch)
tree4a8468dcfc29f7a15fe37dc9711776a914a46741
parent4d1659b75688e1ffa872a333d77a36a4f255e11d (diff)
main/libseccomp: enable -static subpackage
-rw-r--r--main/libseccomp/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/libseccomp/APKBUILD b/main/libseccomp/APKBUILD
index 1643177ce36..2652ed39023 100644
--- a/main/libseccomp/APKBUILD
+++ b/main/libseccomp/APKBUILD
@@ -3,7 +3,7 @@
# Contributor: Dan Williams <dan@ma.ssive.co>
pkgname=libseccomp
pkgver=2.5.0
-pkgrel=0
+pkgrel=1
pkgdesc="An interface to the Linux Kernel's syscall filtering mechanism"
url="https://github.com/seccomp/libseccomp"
arch="all"
@@ -11,7 +11,7 @@ license="LGPL-2.1-or-later"
depends_dev="linux-headers"
makedepends="$depends_dev gperf"
checkdepends="bash"
-subpackages="$pkgname-dev $pkgname-doc"
+subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
source="https://github.com/seccomp/libseccomp/releases/download/v$pkgver/libseccomp-$pkgver.tar.gz
remove-redefinition-prctl.patch
"
@@ -32,6 +32,7 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
+ --enable-static \
--localstatedir=/var
make
}