Remove rpath before rebuilding for python3 api.
This commit is contained in:
parent
cfc9ba278e
commit
a4654e719c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user