diff options
Diffstat (limited to 'tools/depends/target/pythonmodule-pil/Makefile')
-rw-r--r-- | tools/depends/target/pythonmodule-pil/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/depends/target/pythonmodule-pil/Makefile b/tools/depends/target/pythonmodule-pil/Makefile index a012427b81..597dfafb78 100644 --- a/tools/depends/target/pythonmodule-pil/Makefile +++ b/tools/depends/target/pythonmodule-pil/Makefile @@ -33,9 +33,10 @@ ifeq (darwin, $(findstring darwin, $(HOST))) # Work around an issue with xcode 11 stripping -arch arm64 flags. # Not required for xcode 12+, but doesnt hurt either. CFLAGS+= -target arm64-apple-darwin + LDFLAGS+= -target arm64-apple-darwin endif - LDSHARED:=$(CC) -bundle -undefined dynamic_lookup + LDSHARED:=$(CC) -bundle -undefined dynamic_lookup $(LDFLAGS) export ZLIB_ROOT=$(SDKROOT)/usr endif |