!37 【轻量级 PR】:disable symbol-lookup

From: @kerongw 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
This commit is contained in:
openeuler-ci-bot 2022-05-09 06:51:27 +00:00 committed by Gitee
commit 5234aef22d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
Name: cairo Name: cairo
Version: 1.17.4 Version: 1.17.4
Release: 1 Release: 2
Summary: A 2D graphics library Summary: A 2D graphics library
License: LGPLv2 or MPLv1.1 License: LGPLv2 or MPLv1.1
URL: http://cairographics.org URL: http://cairographics.org
@ -75,7 +75,7 @@ This package contains tools for working with the cairo graphics library.
%build %build
%configure --disable-static --enable-xlib --enable-ft --enable-ps \ %configure --disable-static --enable-xlib --enable-ft --enable-ps \
--enable-pdf --enable-svg --enable-tee --enable-gobject \ --enable-pdf --enable-svg --enable-tee --enable-gobject \
%{cairogl} --disable-gtk-doc %{cairogl} --disable-gtk-doc --disable-symbol-lookup
sed -i -e 's/^hardcode_libdir_flag_spec=.*/hardcode_libdir_flag_spec=""/g' \ sed -i -e 's/^hardcode_libdir_flag_spec=.*/hardcode_libdir_flag_spec=""/g' \
-e 's/^runpath_var=LD_RUN_PATH/runpath_var=DIE_RPATH_DIE/g' libtool -e 's/^runpath_var=LD_RUN_PATH/runpath_var=DIE_RPATH_DIE/g' libtool
%make_build V=1 %make_build V=1
@ -137,6 +137,9 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
%{_libdir}/cairo/ %{_libdir}/cairo/
%changelog %changelog
* Mon May 09 2022 wangkerong<wangkerong@h-partners.com> - 1.17.4-2
- DESC:disable symbol-lookup,fix build failure after install binutils-devel
* Mon Nov 22 2021 hanhui<hanhui15@huawei.com> - 1.17.4-1 * Mon Nov 22 2021 hanhui<hanhui15@huawei.com> - 1.17.4-1
- DESC:update to 1.17.4 - DESC:update to 1.17.4