Skip to content

Commit

Permalink
Merge branch 'jb49681' into 'mer-stable-on-5.6'
Browse files Browse the repository at this point in the history
Use macros, not hardcoded paths.

See merge request mer-core/qtwebkit5!24
  • Loading branch information
Matti Kosola committed May 28, 2020
2 parents 68f3e7a + cadd41a commit ee576f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rpm/qtwebkit5.spec
Expand Up @@ -181,8 +181,8 @@ rm -rf %{buildroot}

%qmake5_install
# Remove .la files
rm -f %{buildroot}/usr/lib/libQt5WebKit.la
rm -f %{buildroot}/usr/lib/libQt5WebKitWidgets.la
rm -f %{buildroot}%{_libdir}/libQt5WebKit.la
rm -f %{buildroot}%{_libdir}/libQt5WebKitWidgets.la
# Fix wrong path in pkgconfig files
find %{buildroot}%{_libdir}/pkgconfig -type f -name '*.pc' \
-exec perl -pi -e "s, -L%{_builddir}/?\S+,,g" {} \;
Expand Down

0 comments on commit ee576f0

Please sign in to comment.