Changeset 144943 in webkit


Ignore:
Timestamp:
Mar 6, 2013 10:11:24 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Link the webkit_tests to XRENDER_LIBS.
This solves the linking failure when building against gtk2 like:
usr/lib/gcc/i586-suse-linux/4.7/../../../../i586-suse-linux/bin/ld:
Source/WebCore/platform/gtk/Programs_unittests_testcopyandpaste-GtkVersioning.o:
undefined reference to symbol 'XFree'
/usr/lib/gcc/i586-suse-linux/4.7/../../../../i586-suse-linux/bin/ld:
note: 'XFree' is defined in DSO /usr/lib/libX11.so.6 so try adding it
to the linker command line
/usr/lib/libX11.so.6: could not read symbols: Invalid operation

https://bugs.webkit.org/show_bug.cgi?id=111572

Patch by Dominique Leuenberger <dimstar@opensuse.org> on 2013-03-06
Reviewed by Gustavo Noronha Silva.

  • GNUmakefile.am:
Location:
trunk/Source/WebKit/gtk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/gtk/ChangeLog

    r144565 r144943  
     12013-03-06  Dominique Leuenberger  <dimstar@opensuse.org>
     2
     3        Link the webkit_tests to XRENDER_LIBS.
     4        This solves the linking failure when building against gtk2 like:
     5        usr/lib/gcc/i586-suse-linux/4.7/../../../../i586-suse-linux/bin/ld:
     6        Source/WebCore/platform/gtk/Programs_unittests_testcopyandpaste-GtkVersioning.o:
     7        undefined reference to symbol 'XFree'
     8        /usr/lib/gcc/i586-suse-linux/4.7/../../../../i586-suse-linux/bin/ld:
     9        note: 'XFree' is defined in DSO /usr/lib/libX11.so.6 so try adding it
     10        to the linker command line
     11        /usr/lib/libX11.so.6: could not read symbols: Invalid operation
     12
     13        https://bugs.webkit.org/show_bug.cgi?id=111572
     14
     15        Reviewed by Gustavo Noronha Silva.
     16
     17        * GNUmakefile.am:
     18
    1192013-03-03  Adam Barth  <abarth@webkit.org>
    220
  • trunk/Source/WebKit/gtk/GNUmakefile.am

    r143591 r144943  
    450450        $(GTK_LIBS) \
    451451        $(GLIB_LIBS) \
    452         $(LIBSOUP_LIBS)
     452        $(LIBSOUP_LIBS) \
     453        $(XRENDER_LIBS)
    453454
    454455webkit_tests_ldflags = \
Note: See TracChangeset for help on using the changeset viewer.