Bug 178133 - [WPE] Cannot link against libWPEWebkit due to wrong contents of wpe-webkit.pc
Summary: [WPE] Cannot link against libWPEWebkit due to wrong contents of wpe-webkit.pc
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Adrian Perez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-10-10 09:51 PDT by Adrian Perez
Modified: 2017-10-10 10:47 PDT (History)
7 users (show)

See Also:


Attachments
Patch (1.36 KB, patch)
2017-10-10 09:56 PDT, Adrian Perez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Perez 2017-10-10 09:51:22 PDT
The “wpe-webkit.pc” file contains:

    Requires.private: glib-2.0 libsoup-2.4
    Libs: -L${libdir} -lWPEWebKit -lWPE

There is no “libWPE.so*” so of course linking fails.

Once “-lWPE” is removed, the following error happens at link time:

    /home/aperez/devel/wpe/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabihf/6.4.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: CMakeFiles/dinghy.dir/dinghy.c.o: undefined
 reference to symbol 'g_main_loop_unref'                                                                                                                     
    /home/aperez/devel/wpe/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/lib/libglib-2.0.so.0: error adding symbols: DSO missing from command line
Comment 1 Adrian Perez 2017-10-10 09:56:38 PDT
Created attachment 323312 [details]
Patch
Comment 2 WebKit Commit Bot 2017-10-10 10:45:01 PDT
Comment on attachment 323312 [details]
Patch

Clearing flags on attachment: 323312

Committed r223133: <http://trac.webkit.org/changeset/223133>
Comment 3 WebKit Commit Bot 2017-10-10 10:45:02 PDT
All reviewed patches have been landed.  Closing bug.
Comment 4 Radar WebKit Bug Importer 2017-10-10 10:47:32 PDT
<rdar://problem/34913841>