 250eee7acf
			
		
	
	250eee7acf
	
	
	
		
			
			The in-tree SQLite3 is used for HDB and ccache -- these should have 0600 permissions. Of course, if we're using an out-of-tree SQLite3, then we need to rely on the process' umask, but we use SQLite3 in libraries, where we can't set the umask... What to do? TBD: - On Windows: nothing to do. - On Unix: if SQLite3 is out of tree then [v]fork() to create the connection then close, then connect again after?? Or... maybe make sure to create an intermediate directory with 0700 permissions?
		
			
				
	
	
		
			21 lines
		
	
	
		
			398 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			398 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| # $Id$
 | |
| 
 | |
| include $(top_srcdir)/Makefile.am.common
 | |
| 
 | |
| if ENABLE_PTHREAD_SUPPORT
 | |
| AM_CPPFLAGS += -DSQLITE_THREADSAFE=1 -DSQLITE_DEFAULT_FILE_PERMISSIONS=0600
 | |
| endif
 | |
| 
 | |
| AM_CPPFLAGS += -DSQLITE_WITHOUT_ZONEMALLOC=1
 | |
| WFLAGS =
 | |
| 
 | |
| lib_LTLIBRARIES = libheimsqlite.la
 | |
| 
 | |
| noinst_HEADERS = sqlite3.h sqlite3ext.h
 | |
| 
 | |
| libheimsqlite_la_SOURCES = sqlite3.c
 | |
| 
 | |
| libheimsqlite_la_LIBADD = $(PTHREAD_LIBADD)
 | |
| 
 | |
| EXTRA_DIST = NTMakefile
 |