mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-04-11 01:23:32 +02:00
clean up sdlmame directory
This commit is contained in:
33
games-emulation/sdlmame/files/sdlmame-0.149-system-lua.patch
Normal file
33
games-emulation/sdlmame/files/sdlmame-0.149-system-lua.patch
Normal file
@@ -0,0 +1,33 @@
|
||||
commit ea514c9ded266aa365976649d88fa5593ef7ebf5
|
||||
Author: hasufell <hasufell@gentoo.org>
|
||||
Date: Tue Jun 25 23:48:26 2013 +0200
|
||||
|
||||
add switch to use system lua
|
||||
|
||||
diff --git a/makefile b/makefile
|
||||
index dd4598d..bdf22d2 100644
|
||||
--- a/makefile
|
||||
+++ b/makefile
|
||||
@@ -228,6 +228,9 @@ BUILD_JPEGLIB = 1
|
||||
# uncomment next line to build PortMidi as part of MAME/MESS build
|
||||
BUILD_MIDILIB = 1
|
||||
|
||||
+# uncomment next line to build Lua-5.2 as part of MAME/MESS build
|
||||
+BUILD_LUA = 1
|
||||
+
|
||||
# uncomment next line to include the symbols
|
||||
# SYMBOLS = 1
|
||||
|
||||
@@ -664,7 +667,12 @@ SOFTFLOAT = $(OBJ)/libsoftfloat.a
|
||||
FORMATS_LIB = $(OBJ)/libformats.a
|
||||
|
||||
# add LUA library
|
||||
+ifeq ($(BUILD_LUA),1)
|
||||
LUA_LIB = $(OBJ)/liblua.a
|
||||
+else
|
||||
+LIBS += $(shell $(PKG_CONFIG) --libs lua)
|
||||
+INCPATH += $(shell $(PKG_CONFIG) --cflags lua)
|
||||
+endif
|
||||
|
||||
# add PortMidi MIDI library
|
||||
ifeq ($(BUILD_MIDILIB),1)
|
||||
Reference in New Issue
Block a user