aboutsummaryrefslogtreecommitdiffhomepage
path: root/backends/Makefile
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2020-10-24 12:31:27 +0200
committercbdev <cb@cbcdn.com>2020-10-24 12:31:27 +0200
commitbb122923379f3439c62241652b82ed403ad835f7 (patch)
treecbe0efe037bf7ac39c6b160bfbc976fee5806b9f /backends/Makefile
parent2d881202dafa5c8593fce2b21b47f63fe1820d96 (diff)
downloadmidimonster-bb122923379f3439c62241652b82ed403ad835f7.tar.gz
midimonster-bb122923379f3439c62241652b82ed403ad835f7.tar.bz2
midimonster-bb122923379f3439c62241652b82ed403ad835f7.zip
Add generic lua pkg-config data
Diffstat (limited to 'backends/Makefile')
-rw-r--r--backends/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/Makefile b/backends/Makefile
index 4f89b43..d815f84 100644
--- a/backends/Makefile
+++ b/backends/Makefile
@@ -79,9 +79,9 @@ ola.so: CPPFLAGS += -Wno-write-strings
# The pkg-config name for liblua5.3 is subject to discussion. I prefer 'lua5.3' (which works on Debian and OSX),
# but Arch requires 'lua53' which works on Debian, too, but breaks on OSX.
-lua.so: CFLAGS += $(shell pkg-config --cflags lua53 || pkg-config --cflags lua5.3 || echo "-DBUILD_ERROR=\"Missing pkg-config data for lua53\"")
-lua.so: LDLIBS += $(shell pkg-config --libs lua53 || pkg-config --libs lua5.3 || echo "-DBUILD_ERROR=\"Missing pkg-config data for lua53\"")
-lua.dll: CFLAGS += $(shell pkg-config --cflags lua53 || pkg-config --cflags lua5.3 || echo "-DBUILD_ERROR=\"Missing pkg-config data for lua53\"")
+lua.so: CFLAGS += $(shell pkg-config --cflags lua53 || pkg-config --cflags lua5.3 || pkg-config --cflags lua || echo "-DBUILD_ERROR=\"Missing pkg-config data for lua53\"")
+lua.so: LDLIBS += $(shell pkg-config --libs lua53 || pkg-config --libs lua5.3 || pkg-config --libs lua || echo "-DBUILD_ERROR=\"Missing pkg-config data for lua53\"")
+lua.dll: CFLAGS += $(shell pkg-config --cflags lua53 || pkg-config --cflags lua5.3 || pkg-config --cflags lua || echo "-DBUILD_ERROR=\"Missing pkg-config data for lua53\"")
lua.dll: LDLIBS += -L../ -llua53
python.so: CFLAGS += $(shell pkg-config --cflags python3 || pkg-config --cflags python || echo "-DBUILD_ERROR=\"Missing pkg-config data for python3\"")