aboutsummaryrefslogtreecommitdiffhomepage
path: root/backends/Makefile
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2019-12-03 23:06:51 +0100
committercbdev <cb@cbcdn.com>2019-12-03 23:06:51 +0100
commitdcdf802e10b8199bf04139b0e63912bda2b681ce (patch)
tree16f863f671c3466fa8d2dba791c5a16bff658a7d /backends/Makefile
parent4a86ad5ac36c54de1bff61d00b80734da226e37e (diff)
downloadmidimonster-dcdf802e10b8199bf04139b0e63912bda2b681ce.tar.gz
midimonster-dcdf802e10b8199bf04139b0e63912bda2b681ce.tar.bz2
midimonster-dcdf802e10b8199bf04139b0e63912bda2b681ce.zip
Fix the flags for the pkg-build invocation on OSX
Diffstat (limited to 'backends/Makefile')
-rw-r--r--backends/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/Makefile b/backends/Makefile
index 75ce74b..feefd7b 100644
--- a/backends/Makefile
+++ b/backends/Makefile
@@ -50,7 +50,7 @@ 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 --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\"")
%.so :: %.c %.h $(BACKEND_LIB)
$(CC) $(CFLAGS) $(LDLIBS) $< $(ADDITIONAL_OBJS) -o $@ $(LDFLAGS)