summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-06-03 19:03:47 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-06-03 19:03:47 (GMT)
commit66da202f765c8843bf61bc83fb5e7f81c2cb0a65 (patch)
tree35e56ce082a6945547579511c6c22832a838dfbe /3rdParty/SQLite
parent5799abfc6afa135f183908688d72f4d7d5254e79 (diff)
downloadswift-66da202f765c8843bf61bc83fb5e7f81c2cb0a65.zip
swift-66da202f765c8843bf61bc83fb5e7f81c2cb0a65.tar.bz2
Remove SQLite and SQLiteHistoryManager.
Diffstat (limited to '3rdParty/SQLite')
-rw-r--r--3rdParty/SQLite/SConscript22
1 files changed, 12 insertions, 10 deletions
diff --git a/3rdParty/SQLite/SConscript b/3rdParty/SQLite/SConscript
index 75b1d97..9b9fead 100644
--- a/3rdParty/SQLite/SConscript
+++ b/3rdParty/SQLite/SConscript
@@ -1,17 +1,19 @@
Import("env")
+if env.get("SQLITE_BUNDLED", False) :
+
################################################################################
# Flags
################################################################################
-if env["SCONS_STAGE"] == "flags" :
- env["SQLITE_FLAGS"] = {
- "CPPPATH": [Dir(".")],
- "LIBPATH": [Dir(".")],
- "LIBS": ["SQLite"],
- }
+ if env["SCONS_STAGE"] == "flags" :
+ env["SQLITE_FLAGS"] = {
+ "CPPPATH": [Dir(".")],
+ "LIBPATH": [Dir(".")],
+ "LIBS": ["SQLite"],
+ }
-if env["SCONS_STAGE"] == "build" :
- myenv = env.Clone()
- myenv.Replace(CCFLAGS = [flag for flag in env["CCFLAGS"] if flag not in ["-W", "-Wall"]])
- myenv.StaticLibrary("SQLite", ["sqlite3.c"], CPPPATH = ["."])
+ if env["SCONS_STAGE"] == "build" :
+ myenv = env.Clone()
+ myenv.Replace(CCFLAGS = [flag for flag in env["CCFLAGS"] if flag not in ["-W", "-Wall"]])
+ myenv.StaticLibrary("SQLite", ["sqlite3.c"], CPPPATH = ["."])