Remove rpath before rebuilding for python3 api.

This commit is contained in:
Ondrej Kozina 2018-05-29 15:41:53 +02:00
parent cfc9ba278e
commit a4654e719c

View File

@ -152,6 +152,9 @@ make %{?_smp_mflags}
%if %{python3_enable}
pushd %{py3dir}
%configure --enable-python --with-python_version=3 --enable-fips --enable-pwquality --enable-libargon2
# remove rpath
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags}
popd
%endif