2008-04-14 22:11:08 +00:00
|
|
|
The main webkit library links against stdc++ so we need to use g++ for
|
|
|
|
linking. The easiest way to achieve this is to add a dummy cpp file.
|
|
|
|
This also means we have to add AC_PROG_CXX else libtool 2.2.2 gets upset.
|
2008-01-31 17:49:33 +00:00
|
|
|
|
2008-04-14 22:11:08 +00:00
|
|
|
RP - 14/4/08
|
2008-01-31 17:49:33 +00:00
|
|
|
--- webkit.orig/src/Makefile.am
|
|
|
|
+++ webkit/src/Makefile.am
|
|
|
|
@@ -1,11 +1,11 @@
|
|
|
|
AM_CPPFLAGS=-DPKGDATADIR=\"$(pkgdatadir)\"
|
|
|
|
AM_CFLAGS = -Wall -export-dynamic $(WEB_CFLAGS)
|
|
|
|
|
|
|
|
bin_PROGRAMS = web2
|
|
|
|
|
|
|
|
-web2_SOURCES = web2.h web2-main.c web2-utils.c web2-utils.h
|
|
|
|
+web2_SOURCES = web2.h web2-main.c web2-utils.c web2-utils.h dummy.cpp
|
|
|
|
web2_LDADD = $(WEB_LIBS)
|
|
|
|
|
|
|
|
MAINTAINERCLEANFILES = config.h.in Makefile.in
|
|
|
|
|
|
|
|
uidir = $(pkgdatadir)
|
2008-04-14 22:11:08 +00:00
|
|
|
Index: webkit/configure.ac
|
|
|
|
===================================================================
|
|
|
|
--- webkit.orig/configure.ac 2008-04-14 22:15:25.000000000 +0100
|
|
|
|
+++ webkit/configure.ac 2008-04-14 22:16:31.000000000 +0100
|
|
|
|
@@ -7,6 +7,7 @@
|
|
|
|
|
|
|
|
AC_ISC_POSIX
|
|
|
|
AC_PROG_CC
|
|
|
|
+AC_PROG_CXX
|
|
|
|
AC_STDC_HEADERS
|
|
|
|
AC_PROG_LIBTOOL
|
|
|
|
|