aboutsummaryrefslogtreecommitdiff
path: root/tools/depends
diff options
context:
space:
mode:
authorfuzzard <fuzzard@kodi.tv>2022-06-18 12:15:31 +1000
committerfuzzard <fuzzard@kodi.tv>2022-06-18 13:34:05 +1000
commit03d0364e97f0fbf9253fd61bbbea90bac2fdcf11 (patch)
tree6cf23a706a0b4ac91ddd65062249bda3a0d05ce8 /tools/depends
parent53282f34e6539717c459a466db62e84e0ec8c498 (diff)
[tools/depends][target] pythonmodule-pycryptodome fix tvos incorrect arch
Diffstat (limited to 'tools/depends')
-rw-r--r--tools/depends/target/pythonmodule-pycryptodome/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/depends/target/pythonmodule-pycryptodome/Makefile b/tools/depends/target/pythonmodule-pycryptodome/Makefile
index 1fa504b0f2..a4e688b4b3 100644
--- a/tools/depends/target/pythonmodule-pycryptodome/Makefile
+++ b/tools/depends/target/pythonmodule-pycryptodome/Makefile
@@ -14,8 +14,9 @@ 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)
endif
ifeq ($(TARGET_PLATFORM),appletvos)