configure with runstatedir set to /run
The default was /var/run, which is just a symlink to /run.
This commit is contained in:
parent
c032ef0837
commit
8f59909672
@ -86,6 +86,9 @@ Requires: %{name}-plugins%{?_isa} = %{version}-%{release}
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# The ./configure script will support --runstatedir= when generated with
|
||||||
|
# autoconf 2.70. Until then, tell it about /run using the export:
|
||||||
|
export runstatedir=/run
|
||||||
%configure --enable-plugins --disable-silent-rules
|
%configure --enable-plugins --disable-silent-rules
|
||||||
# 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…
Reference in New Issue
Block a user