From 9f4adeab0b7a75095a7b5854ef09d63f1da8d284 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Tue, 21 Mar 2023 20:41:37 +0100 Subject: [PATCH] gettext: Switch to patchelf to remove the RPATH Signed-off-by: Stefan Schantl --- gettext/gettext.nm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gettext/gettext.nm b/gettext/gettext.nm index 000db01b2..699c1b20d 100644 --- a/gettext/gettext.nm +++ b/gettext/gettext.nm @@ -31,12 +31,12 @@ sources = %{thisapp}.tar.xz build requires bison - chrpath expat-devel glib2-devel libunistring-devel libxml2-devel ncurses-devel + patchelf end configure_options += \ @@ -59,7 +59,7 @@ build # cleanup rpaths for i in $(find %{BUILDROOT}%{bindir} %{BUILDROOT}%{libdir} -type f); do if file ${i} | grep "ELF 64-bit" >/dev/null; then - chrpath -l ${i} && chrpath --delete ${i} + patchelf --remove-rpath ${i} fi done -- 2.47.3