Fix rpath.
This commit is contained in:
parent
bab1a4255a
commit
e6e93b464e
|
@ -156,6 +156,7 @@ Provides documentation for prelude generated by gtk-doc.
|
|||
--without-included-regex \
|
||||
--includedir=%{_includedir}/%{name} \
|
||||
--enable-gtk-doc \
|
||||
--disable-rpath \
|
||||
--with-html-dir=%{_docdir}/%{name}-devel
|
||||
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
|
||||
%make_build
|
||||
|
@ -163,7 +164,9 @@ sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
|
|||
%install
|
||||
%make_install
|
||||
|
||||
chrpath -d %{buildroot}%{_libdir}/*.so.*
|
||||
#chrpath -d %{buildroot}%{_libdir}/*.so.*
|
||||
chmod 755 %{buildroot}%{_libdir}/perl5/vendor_perl/auto/Prelude/Prelude.so
|
||||
chrpath -d %{buildroot}%{_libdir}/perl5/vendor_perl/auto/Prelude/Prelude.so
|
||||
|
||||
find %{buildroot} -name '*.la' -delete
|
||||
find %{buildroot} -name 'perllocal.pod' -delete
|
||||
|
|
Loading…
Reference in New Issue