blob: 0f868569883915d68bf3c0e3ee8f4dfca787787c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
Import("env")
env["SQLITE_FLAGS"] = {
"CPPPATH": [Dir(".")],
"LIBPATH": [Dir(".")],
"LIBS": ["SQLite"],
}
myenv = env.Clone()
myenv.Replace(CCFLAGS = [flag for flag in env["CCFLAGS"] if flag not in ["-W", "-Wall"]])
myenv.StaticLibrary("SQLite", ["sqlite3.c"], CPPPATH = ["."])
|