From fc0afb039ddd4ba8f6161f2c9026e196f6d7ddc3 Mon Sep 17 00:00:00 2001 From: cbdev Date: Wed, 4 Mar 2020 01:29:38 +0100 Subject: Try to make OSX build the python backend --- backends/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backends/Makefile') 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) -- cgit v1.2.3