MacOS: prefer lua package over lua5.x
This commit is contained in:
parent
8d7c37cc5f
commit
227cf3b466
@ -216,7 +216,7 @@ ifeq ($(API),sdl2)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# these are for use with macports
|
# these are for use with macports
|
||||||
LUAPKG := $(shell for p in lua5.3 lua-5.3 lua53 lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 lua ; do pkg-config --exists $$p && echo $$p && break ; done)
|
LUAPKG := $(shell for p in lua lua5.3 lua-5.3 lua53 lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 ; do pkg-config --exists $$p && echo $$p && break ; done)
|
||||||
ifneq ($(LUAPKG), )
|
ifneq ($(LUAPKG), )
|
||||||
ifeq ($(OSX_STATIC),1)
|
ifeq ($(OSX_STATIC),1)
|
||||||
LUACOPT = $(shell pkg-config $(LUAPKG) --cflags | sed 's/-I/-idirafter/')
|
LUACOPT = $(shell pkg-config $(LUAPKG) --cflags | sed 's/-I/-idirafter/')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user