From dd1328fd0986313083a6a93de56a1d85f986bf86 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Thu, 8 Sep 2016 11:50:00 +0200 Subject: [PATCH] Re-enable cleaning and rpath fix as we don't rebootstrap --- vlc.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vlc.spec b/vlc.spec index c50f0f4..acef6f5 100644 --- a/vlc.spec +++ b/vlc.spec @@ -290,13 +290,13 @@ rm aclocal.m4 m4/lib*.m4 m4/lt*.m4 || : --enable-lirc -%if 0 +%if 1 # remove rpath from libtool sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool %endif -%if 0 +%if 1 # clean unused-direct-shlib-dependencies sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool %endif