Set the default SQLITE_THREADSAFE on both platforms ENGINE-228
authorDamiano Boppart <damiano@pep-security.net>
Fri, 18 Aug 2017 14:29:51 +0000
branchENGINE-228
changeset 1971975a44e59f31
parent 1970 9f55b8970727
child 1972 639cc236c233
Set the default SQLITE_THREADSAFE on both platforms
src/Makefile
     1.1 --- a/src/Makefile	Thu Aug 17 16:01:20 2017 +0000
     1.2 +++ b/src/Makefile	Fri Aug 18 14:29:51 2017 +0000
     1.3 @@ -11,7 +11,7 @@
     1.4  
     1.5  ifeq ($(BUILD_ON),Darwin)
     1.6      ifeq ($(BUILD_FOR),Darwin)
     1.7 -        #CFLAGS+= -I/opt/local/include
     1.8 +        CFLAGS+= -DSQLITE_THREADSAFE=1
     1.9          #LDFLAGS+= -L/opt/local/lib
    1.10          LDLIBS+= -lsqlite3 -lz -liconv
    1.11      else
    1.12 @@ -19,7 +19,6 @@
    1.13      endif
    1.14  else ifeq ($(BUILD_ON),Linux)
    1.15      ifeq ($(BUILD_FOR),Linux)
    1.16 -        # FIXME Find out if SQLITE_THREADSAFE is needed for both platform.
    1.17          CFLAGS+= -DSQLITE_THREADSAFE=1 -D_GNU_SOURCE
    1.18          LDLIBS+= -ldl -luuid
    1.19      else