RESOLVED DUPLICATE of bug 36826 39573
[Qt] pkg-config file corrupted by qmake commands
https://bugs.webkit.org/show_bug.cgi?id=39573
Summary [Qt] pkg-config file corrupted by qmake commands
Felix Geyer
Reported 2010-05-23 15:25:10 PDT
The following commands in WebCore/WebCore.pro can corrupt QtWebKit.pc: lib_replace.match = $$DESTDIR lib_replace.replace = $$[QT_INSTALL_LIBS] QMAKE_PKGCONFIG_INSTALL_REPLACE += lib_replace The problem is that .match/.replace doesn't replace plain strings but regular expressions. If $$DESTDIR == "../lib", the resulting command is: sed -e "s,../lib,/usr/lib,g" "../lib/pkgconfig/QtWebKit.pc" >"/build/buildd/qtwebkit-4.7~beta1/debian/tmp/usr/lib/pkgconfig/QtWebKit.pc" "." matches any character so "libdir=${prefix}/lib" is being replaced by "libdir=${prefi/usr/lib". I'm not sure why this path replacement is needed at all.
Attachments
Felix Geyer
Comment 1 2010-05-30 04:30:01 PDT
*** This bug has been marked as a duplicate of bug 36826 ***
Note You need to log in before you can comment on or make changes to this bug.