[webkit-gtk] Static compile

Philippe Normand philn at igalia.com
Wed Sep 3 00:03:07 PDT 2014

On Tue, 2014-09-02 at 19:35 -0400, Victor Lucero wrote:
> Hi. im trying to compile webkitgtk in fedora 20 based on
> webkitgtk3-2.2.7-3.fc20.src.rpm
> but trying to add the option —enable-static (i want monolithic versions of my software)  i hit this wall
> libtool: link: (cd ".libs" && rm -f "libjavascriptcoregtk-3.0.so.0" && ln -s "libjavascriptcoregtk-3.0.so.0.15.12" "libjavascriptcoregtk-3.0.so.0")
> libtool: link: (cd ".libs" && rm -f "libjavascriptcoregtk-3.0.so" && ln -s "libjavascriptcoregtk-3.0.so.0.15.12" "libjavascriptcoregtk-3.0.so")
> libtool: link: (cd .libs/libjavascriptcoregtk-3.0.lax/libWTF.a && ar x "/root/rpmbuild/BUILD/webkitgtk-2.2.7/./.libs/libWTF.a")
> ar: `x' cannot be used on thin archives.
> make[1]: *** [libjavascriptcoregtk-3.0.la] Error 1
> make[1]: Leaving directory `/root/rpmbuild/BUILD/webkitgtk-2.2.7'
> make: *** [all] Error 2
> error: Estado de salida erróneo de /var/tmp/rpm-tmp.XxKFHH (%build)

Do you have the AR_FLAGS env var set?
Also I think that we used to set that var in the autotools build.

Any chance you could try a more recent version btw? 2.2.7 is getting


More information about the webkit-gtk mailing list