remove RPATH hardcoding
This commit is contained in:
parent
7bafefd775
commit
0f37cb72b0
@ -51,9 +51,16 @@ mv iconv.tmp doc/libidn.info
|
||||
|
||||
%build
|
||||
%configure --disable-csharp --disable-static --with-lispdir=%{_emacs_sitelispdir}/%{name}
|
||||
|
||||
# remove RPATH hardcoding
|
||||
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} V=1
|
||||
|
||||
%check
|
||||
# without RPATH this needs to be set to test the compiled library
|
||||
export LD_LIBRARY_PATH=$(pwd)/lib/.libs
|
||||
make %{?_smp_mflags} -C tests check VALGRIND=env
|
||||
|
||||
%install
|
||||
|
Loading…
Reference in New Issue
Block a user