diff --git a/perl.spec b/perl.spec index 2546cd7..270b8c5 100644 --- a/perl.spec +++ b/perl.spec @@ -903,6 +903,7 @@ echo "RPM Build arch: %{_arch}" %define archlib %{_libdir}/perl5 /bin/sh Configure -des -Doptimize="$RPM_OPT_FLAGS" \ + -Dccdlflags="-Wl,--enable-new-dtags" \ -DDEBUGGING=-g \ -Dversion=%{perl_version} \ -Dmyhostname=localhost \ @@ -1701,6 +1702,9 @@ rm -rf $RPM_BUILD_ROOT %changelog * Wed Aug 18 2010 Petr Pisar - 4:5.12.1-130 - Run tests in parallel +- Add "-Wl,--enable-new-dtags" to linker to allow to override perl's rpath by + LD_LIBRARY_PATH used in tests. Otherwise tested perl would link to old + in-system libperl.so. * Mon Jul 26 2010 Marcela Mašláňová - 4:5.12.1-129 - 617956 move perlxs* docs files into perl-devel