From 45b8c08f6d02cca2b8905c27bd6b56ff4b32e724 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sun, 30 Jan 2022 22:59:01 +0000 Subject: [PATCH] libevent: strip unneeded RPATH Currently the binaries embed an RPATH of /usr/lib - which is within the default search location. Just strip it, using the CMAKE_SKIP_INSTALL_RPATH toggle. Note that the _INSTALL_ variant is explicitly used, otherwise the tests would fail. Signed-off-by: Emil Velikov --- repos/core-x86_64/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repos/core-x86_64/PKGBUILD b/repos/core-x86_64/PKGBUILD index 5b5adb84..49bf09ba 100644 --- a/repos/core-x86_64/PKGBUILD +++ b/repos/core-x86_64/PKGBUILD @@ -19,7 +19,7 @@ validpgpkeys=('B35BF85BF19489D04E28C33C21194EBB165733EA' build() { cd ${pkgname}-${pkgver}-stable - cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DEVENT__LIBRARY_TYPE=SHARED -S . -B build + cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_INSTALL_RPATH=TRUE -DEVENT__LIBRARY_TYPE=SHARED -S . -B build cmake --build build } -- 2.34.1