[webkit-gtk] Make unit tests buildable from tarballs

Adrian Perez de Castro aperez at igalia.com
Tue Feb 5 09:25:34 PST 2019


On Wed, 16 Jan 2019 08:56:30 +0100, Tomas Popela <tpopela at redhat.com> wrote:
> On Tue, Jan 15, 2019 at 11:08 PM Michael Catanzaro <mcatanzaro at igalia.com>
> wrote:
> > I don't think we need a new libwebkit2gtktest library if we build
> > separate static libs. Then the API tests could link against the static
> > libs, and you'd have access to everything?
> Ahh, static libs. I didn't thought about them. But this^ would mean
> compiling things twice no?

Not necessarily. As long as the object files are built with “-fPIC” they can
be both used for static and dynamic linking.

> > We could also internally build everything as static libs, and add
> > shared libs linked to those at the end of the build?
> This sounds a lot better, as that would mean that we will build things only
> once.
> I will try to look at it (and expect me from reaching to you with cmake
> stuff :D)

Doing this would be a variant of the above, so be aware that building
everything with “-fPIC” is still needed.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20190205/b2e2bf2b/attachment.bin>

More information about the webkit-gtk mailing list