summaryrefslogtreecommitdiffstats
path: root/WebKit/wx/dependencies.bkl
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/wx/dependencies.bkl')
-rw-r--r--WebKit/wx/dependencies.bkl8
1 files changed, 5 insertions, 3 deletions
diff --git a/WebKit/wx/dependencies.bkl b/WebKit/wx/dependencies.bkl
index cbdb7e3..dc82c3f 100644
--- a/WebKit/wx/dependencies.bkl
+++ b/WebKit/wx/dependencies.bkl
@@ -44,12 +44,14 @@ and WebCore. Include this file to use these settings.
</option>
<template id="sqlite3">
- <sys-lib>sqlite3</sys-lib>
<if cond="FORMAT=='gnu'">
- <ldflags>$(SQLITE3_LIBS)</ldflags>
- <cxxflags>$(SQLITE3_CFLAGS)</cxxflags>
+ <set var="SQLITE_LDFLAGS"><if cond="PLATFORM_OS=='mac'">-lWebCoreSQLite3</if><if cond="PLATFORM_OS=='linux'">$(SQLITE3_LIBS)</if></set>
+ <set var="SQLITE_CFLAGS"><if cond="PLATFORM_OS=='mac'">-I$(WK_ROOT)/WebKitLibraries/WebCoreSQLite3</if><if cond="PLATFORM_OS=='linux'">$(SQLITE3_CFLAGS)</if></set>
+ <ldflags>$(SQLITE_LDFLAGS)</ldflags>
+ <cxxflags>$(SQLITE_CFLAGS)</cxxflags>
</if>
<if cond="FORMAT in ['msvc','msvs2005prj']">
+ <sys-lib>sqlite3</sys-lib>
<include>$(WK_ROOT)/WebKitLibraries/win/include/SQLite</include>
</if>
</template>