From e6b479c3962de0384de434ffb082d84a86d278cd Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Fri, 7 Dec 2007 18:02:40 +0000 Subject: webkit: fixes to get r28485 built git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3320 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/webkit/files/WebKit.pri | 5 ++++- meta/packages/webkit/webkit.inc | 8 +++++++- 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'meta/packages') diff --git a/meta/packages/webkit/files/WebKit.pri b/meta/packages/webkit/files/WebKit.pri index 0c47afe7fd..514023de57 100644 --- a/meta/packages/webkit/files/WebKit.pri +++ b/meta/packages/webkit/files/WebKit.pri @@ -33,7 +33,10 @@ gtk-port:INCLUDEPATH += \ $$BASE_DIR/WebCore/loader/gtk \ $$BASE_DIR/WebCore/page/gtk \ $$BASE_DIR/WebKit/gtk/Api \ - $$BASE_DIR/WebKit/gtk/WebCoreSupport + $$BASE_DIR/WebKit/gtk/WebView \ + $$BASE_DIR/WebKit/gtk/WebCoreSupport \ + $$BASE_DIR/JavaScriptCore/ForwardingHeaders \ + $$BASE_DIR INCLUDEPATH += \ $$BASE_DIR/JavaScriptCore/ \ $$BASE_DIR/JavaScriptCore/kjs \ diff --git a/meta/packages/webkit/webkit.inc b/meta/packages/webkit/webkit.inc index 2ff61091c3..81c2d91bf8 100644 --- a/meta/packages/webkit/webkit.inc +++ b/meta/packages/webkit/webkit.inc @@ -34,7 +34,13 @@ do_configure() { do_compile_prepend() { mkdir -p ${S}/WebKitBuilds/Debug/JavaScriptCore/pcre/tmp/ cd ${S}/JavaScriptCore/pcre - ${BUILD_CC} dftables.c -o dftables -I. -I../wtf + if test -e dftables.c + then + ${BUILD_CC} dftables.c -o dftables -I. -I../wtf + elif test -e dftables.cpp + then + ${BUILD_CXX} dftables.cpp -o dftables -I. -I../wtf + fi cp dftables ${S}/WebKitBuilds/Debug/JavaScriptCore/pcre/tmp/ cd ${S}/WebKitBuilds/Debug } -- cgit v1.2.3-54-g00ecf