From b084e96f539ba166ab364748acd55a2013276951 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Sat, 23 May 2020 12:17:32 +0200 Subject: [PATCH] qemu-user-static: statically link binaries. With the addition of '---static' to the configure stage, the resulting binaries are actually statically linked. --- srcpkgs/qemu-user-static/template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/qemu-user-static/template b/srcpkgs/qemu-user-static/template index af3dd9161fc..538bbebf8ab 100644 --- a/srcpkgs/qemu-user-static/template +++ b/srcpkgs/qemu-user-static/template @@ -1,7 +1,7 @@ # Template file for 'qemu-user-static' pkgname=qemu-user-static version=5.0.0 -revision=1 +revision=2 wrksrc="qemu-${version}" hostmakedepends="pkg-config automake python3" makedepends="dtc-devel libglib-static pixman-devel libuuid-devel" @@ -87,7 +87,8 @@ do_configure() { ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/libexec \ --disable-kvm --disable-vnc-png \ --disable-virtfs --disable-fdt --disable-seccomp \ - --enable-linux-user --disable-system + --enable-linux-user --disable-system \ + --static } do_build() {