From 32daf81ede69f7c20b0ab48bffe39f6cbb7babb9 Mon Sep 17 00:00:00 2001 From: Martin Tournoij Date: Wed, 14 Jul 2021 22:17:22 +0800 Subject: [PATCH] libxcb-devel: install static libraries MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit So you can statically link against X programs; since libX11 links against libxcb this is impossible now. Either I'm not understanding how static linking works (AFAIK you *need* the .a file?), or this is a very unpopular thing to do as it's been like this for 9 years (changed in commit 9526648, in 2012) 🤔 --- srcpkgs/libxcb/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/libxcb/template b/srcpkgs/libxcb/template index 0f8ab5564243..07c61410b955 100644 --- a/srcpkgs/libxcb/template +++ b/srcpkgs/libxcb/template @@ -3,7 +3,7 @@ pkgname=libxcb version=1.14 revision=1 build_style=gnu-configure -configure_args="--disable-build-docs --disable-static --enable-xinput --enable-xkb" +configure_args="--disable-build-docs --enable-xinput --enable-xkb" hostmakedepends="libtool pkg-config xorg-util-macros xcb-proto" makedepends="xcb-proto libXdmcp-devel libXau-devel" short_desc="X protocol C-language Binding" @@ -25,5 +25,6 @@ libxcb-devel_package() { vmove usr/share vmove usr/lib/pkgconfig vmove "usr/lib/*.so" + vmove "usr/lib/*.a" } }