diff options
-rw-r--r-- | dlib.spec | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -91,6 +91,10 @@ cd build make %{_smp_mflags} +# see https://github.com/davisking/dlib/issues/2111 +sed -E '/private/s:%{_libdir}/lib([^ ]*).so:-l\1:g' \ + -i dlib/dlib-1.pc + %install cd build @@ -101,9 +105,6 @@ cd build make install DESTDIR="%{buildroot}" -# see https://github.com/davisking/dlib/issues/2111 -sed -e 's:%{_libdir}/lib:-l:g;s/\.so//g' \ - -i %{buildroot}%{_libdir}/pkgconfig/dlib-1.pc %if 0%{?fedora} < 28 && 0%{?rhel} < 8 %post -p /sbin/ldconfig |