webkit: fixes to get r28485 built

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3320 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Marcin Juszkiewicz
2007-12-07 18:02:40 +00:00
parent aa521e3dd6
commit e6b479c396
2 changed files with 11 additions and 2 deletions

View File

@@ -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 \

View File

@@ -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
}