Bug 14803 - QtWebKit pkgconfig file contains bad libs
Summary: QtWebKit pkgconfig file contains bad libs
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 523.x (Safari 3)
Hardware: Other Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-29 09:09 PDT by Mike Hommey
Modified: 2007-11-20 07:28 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Hommey 2007-07-29 09:09:08 PDT
QtWebKit.pc reads:
Libs: -L${libdir} -lQtWebKit -L/usr/lib  -L/tmp/buildd/webkit-0~svn24735/build-qt/WebKitQt/Plugins -lqtwebico -lsqlite3 -lQtXml -lQtGui -lQtNetwork -lQtCore -lpthread  

It shouldn't contain -L/tmp/buildd/webkit-0~svn24735/build-qt/WebKitQt/Plugins -lqtwebico, because qtwebico is statically linked into QtWebKit.

This is due to the following lines in WebCore/WebCore.pro:
qt-port {
!win32-* {
    LIBS += -L$$OUTPUT_DIR/WebKitQt/Plugins
    LIBS += -lqtwebico
}

I unfortunately don't know how to do this cleanly.
Comment 1 Mike Hommey 2007-07-29 11:57:04 PDT
Maybe SUBLIBS ?