!2 add macros to fix build
From: @lukedyue Reviewed-by: @zhang__3125 Signed-off-by: @zhang__3125
This commit is contained in:
commit
15d0cc52ef
@ -60,7 +60,12 @@ plugins for xfce4-panel.
|
|||||||
sed -i 's|Icon=office-calendar|Icon=xfce4-clock|g' plugins/clock/clock.desktop.in.in
|
sed -i 's|Icon=office-calendar|Icon=xfce4-clock|g' plugins/clock/clock.desktop.in.in
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --enable-gtk-doc --disable-static
|
%configure \
|
||||||
|
%if !%{_with_vala}
|
||||||
|
--enable-vala=no \
|
||||||
|
%endif
|
||||||
|
--enable-gtk-doc \
|
||||||
|
--disable-static
|
||||||
|
|
||||||
# Remove rpaths
|
# Remove rpaths
|
||||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user