diff options
author | cbdev <cb@cbcdn.com> | 2020-03-04 01:29:38 +0100 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2020-03-04 01:29:38 +0100 |
commit | fc0afb039ddd4ba8f6161f2c9026e196f6d7ddc3 (patch) | |
tree | 0dde4a02d6422f404b0d927898bc9a826b430107 | |
parent | 2e689e8852dc985249b214a9db98c1221dfc689f (diff) | |
download | midimonster-fc0afb039ddd4ba8f6161f2c9026e196f6d7ddc3.tar.gz midimonster-fc0afb039ddd4ba8f6161f2c9026e196f6d7ddc3.tar.bz2 midimonster-fc0afb039ddd4ba8f6161f2c9026e196f6d7ddc3.zip |
Try to make OSX build the python backend
-rw-r--r-- | backends/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/Makefile b/backends/Makefile index 366d4b4..e31ff24 100644 --- a/backends/Makefile +++ b/backends/Makefile @@ -63,8 +63,8 @@ lua.so: LDLIBS += $(shell pkg-config --libs lua53 || pkg-config --libs lua5.3 || lua.dll: CFLAGS += $(shell pkg-config --cflags lua53 || pkg-config --cflags lua5.3 || echo "-DBUILD_ERROR=\"Missing pkg-config data for lua53\"") lua.dll: LDLIBS += -L../libs -llua53 -python.so: CFLAGS += $(shell pkg-config --cflags python3 || echo "-DBUILD_ERROR=\"Missing pkg-config data for python3\"") -python.so: CFLAGS += $(shell pkg-config --libs python3 || echo "-DBUILD_ERROR=\"Missing pkg-config data for python3\"") +python.so: CFLAGS += $(shell pkg-config --cflags python3 || pkg-config --cflags python || echo "-DBUILD_ERROR=\"Missing pkg-config data for python3\"") +python.so: CFLAGS += $(shell pkg-config --libs python3 || pkg-config --libs python || echo "-DBUILD_ERROR=\"Missing pkg-config data for python3\"") %.so :: %.c %.h $(BACKEND_LIB) $(CC) $(CFLAGS) $(LDLIBS) $< $(ADDITIONAL_OBJS) -o $@ $(LDFLAGS) |