diff options
author | cbdev <cb@cbcdn.com> | 2021-06-27 16:20:52 +0200 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2021-06-27 16:20:52 +0200 |
commit | 011be343cd1427a1be68f9a0da38401b89de0fec (patch) | |
tree | ee274102f241fe1e1902591e83851aa0328ec363 /backends/Makefile | |
parent | e28bfea439d09bd0e9fabc865c83ce73e6b16b37 (diff) | |
download | midimonster-011be343cd1427a1be68f9a0da38401b89de0fec.tar.gz midimonster-011be343cd1427a1be68f9a0da38401b89de0fec.tar.bz2 midimonster-011be343cd1427a1be68f9a0da38401b89de0fec.zip |
Fix python backend calls
Diffstat (limited to 'backends/Makefile')
-rw-r--r-- | backends/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/Makefile b/backends/Makefile index 5054236..6c46007 100644 --- a/backends/Makefile +++ b/backends/Makefile @@ -92,7 +92,7 @@ lua.dll: LDLIBS += -L../ -llua53 # This one also spams a good deal of unwanted flags into CFLAGS, so we use only --includes. On the other hand, the --libs # info from this one seems to include the actual interpreter library only on some systems, which makes it worse than useless. python.so: CFLAGS += $(shell python3-config --includes || pkg-config --cflags python3 || pkg-config --cflags python || echo "-DBUILD_ERROR=\"Missing pkg-config data for python3\"") -python.so: LDLIBS += $(shell pkg-config --libs python3-embed || python3-config --libs || pkg-config --libs python || echo "-DBUILD_ERROR=\"Missing pkg-config data for python3\"") +python.so: LDLIBS += $(shell pkg-config --libs python3-embed || python3-config --libs || pkg-config --libs python3 || echo "-DBUILD_ERROR=\"Missing pkg-config data for python3\"") # Generic rules on how to build .SO/.DLL's from C and CPP sources %.so :: %.c %.h $(BACKEND_LIB) |