Files
heimdal/lib/sqlite/Makefile.am
Luke Howard ee7e345af1 sqlite: silence OSAtomicCompareAndSwapPtrBarrier warning
The deprecated OSAtomicCompareAndSwapPtrBarrier() function is used by a code
path only taken on macOS systems with a single CPU. As very few Macs have a
single CPU today, remove this optimization. (Replacing it with <stdatomic.h> as
suggested would break compatability with macOS prior to 10.12.)
2020-07-20 13:41:53 +10:00

20 lines
350 B
Makefile

# $Id$
include $(top_srcdir)/Makefile.am.common
if ENABLE_PTHREAD_SUPPORT
AM_CPPFLAGS += -DSQLITE_THREADSAFE=1
endif
AM_CPPFLAGS += -DSQLITE_WITHOUT_ZONEMALLOC=1
lib_LTLIBRARIES = libheimsqlite.la
noinst_HEADERS = sqlite3.h sqlite3ext.h
libheimsqlite_la_SOURCES = sqlite3.c
libheimsqlite_la_LIBADD = $(PTHREAD_LIBADD)
EXTRA_DIST = NTMakefile