Skip to content

Commit 135ac7b

Browse files
committed
compile with SQLITE_TEMP_STORE=2 to use memory temp store by default
1 parent 0acb34a commit 135ac7b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sqlcipher.xcodeproj/project.pbxproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
);
147147
runOnlyForDeploymentPostprocessing = 0;
148148
shellPath = /bin/sh;
149-
shellScript = "./configure CFLAGS=\"-DSQLITE_HAS_CODEC\"\nmake sqlite3.c\nexit 0";
149+
shellScript = "./configure CFLAGS=\"-DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2\"\nmake sqlite3.c\nexit 0";
150150
};
151151
/* End PBXShellScriptBuildPhase section */
152152

@@ -185,6 +185,7 @@
185185
"-DSQLITE_HAS_CODEC",
186186
"-DNDEBUG",
187187
"-DSQLITE_OS_UNIX=1",
188+
"-DSQLITE_TEMP_STORE=2",
188189
);
189190
OTHER_LDFLAGS = "";
190191
PRODUCT_NAME = sqlcipher;
@@ -203,6 +204,7 @@
203204
"-DSQLITE_HAS_CODEC",
204205
"-DNDEBUG",
205206
"-DSQLITE_OS_UNIX=1",
207+
"-DSQLITE_TEMP_STORE=2",
206208
);
207209
OTHER_LDFLAGS = "";
208210
PRODUCT_NAME = sqlcipher;

0 commit comments

Comments
 (0)