diff --git a/cppunit.spec b/cppunit.spec index 3517241..f0f0bd2 100644 --- a/cppunit.spec +++ b/cppunit.spec @@ -45,6 +45,10 @@ done %build %configure --enable-doxygen --disable-static --disable-silent-rules +sed -i \ + -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \ + -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \ + libtool make %{?_smp_mflags} %install