mirror of
https://github.com/holub/mame
synced 2025-07-02 00:29:37 +03:00
Allow use of external SQLite3 [Cesare Falco]
This commit is contained in:
parent
822166b6ec
commit
306a90c1f4
10
makefile
10
makefile
@ -228,6 +228,9 @@ BUILD_FLAC = 1
|
|||||||
# uncomment next line to build jpeglib as part of MAME build
|
# uncomment next line to build jpeglib as part of MAME build
|
||||||
BUILD_JPEGLIB = 1
|
BUILD_JPEGLIB = 1
|
||||||
|
|
||||||
|
# uncomment next line to build libsqlite3 as part of MAME/MESS build
|
||||||
|
BUILD_SQLITE3 = 1
|
||||||
|
|
||||||
# uncomment next line to build PortMidi as part of MAME/MESS build
|
# uncomment next line to build PortMidi as part of MAME/MESS build
|
||||||
BUILD_MIDILIB = 1
|
BUILD_MIDILIB = 1
|
||||||
|
|
||||||
@ -254,7 +257,7 @@ BUILD_MIDILIB = 1
|
|||||||
# DEPRECATED = 1
|
# DEPRECATED = 1
|
||||||
|
|
||||||
# specify the sanitizer to use or leave empty to use none
|
# specify the sanitizer to use or leave empty to use none
|
||||||
# SANITIZE =
|
# SANITIZE =
|
||||||
|
|
||||||
# uncomment next line to enable LTO (link-time optimizations)
|
# uncomment next line to enable LTO (link-time optimizations)
|
||||||
# LTO = 1
|
# LTO = 1
|
||||||
@ -760,7 +763,12 @@ LUA_LIB = $(OBJ)/liblua.a
|
|||||||
WEB_LIB = $(OBJ)/libweb.a
|
WEB_LIB = $(OBJ)/libweb.a
|
||||||
|
|
||||||
# add SQLite3 library
|
# add SQLite3 library
|
||||||
|
ifeq ($(BUILD_SQLITE3),1)
|
||||||
SQLITE3_LIB = $(OBJ)/libsqlite3.a
|
SQLITE3_LIB = $(OBJ)/libsqlite3.a
|
||||||
|
else
|
||||||
|
LIBS += -lsqlite3
|
||||||
|
SQLITE3_LIB =
|
||||||
|
endif
|
||||||
|
|
||||||
# add PortMidi MIDI library
|
# add PortMidi MIDI library
|
||||||
ifeq ($(BUILD_MIDILIB),1)
|
ifeq ($(BUILD_MIDILIB),1)
|
||||||
|
Loading…
Reference in New Issue
Block a user