We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26acca5 commit 1852236Copy full SHA for 1852236
cmake/modules/FindASS.cmake
@@ -59,6 +59,13 @@ if(NOT TARGET ${APP_NAME_LC}::${CMAKE_FIND_PACKAGE_NAME})
59
set(DISABLE_ASM "--disable-asm")
60
endif()
61
62
+ # macOS aarch64 toolchains sometimes fail to assemble libass in the
63
+ # ExternalProject. Force a pure-C build here to avoid missing aarch64/*.o
64
+ # during libtool archive.
65
+ if(CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND ARCH STREQUAL aarch64)
66
+ set(DISABLE_ASM "--disable-asm")
67
+ endif()
68
+
69
set(CONFIGURE_COMMAND ${AUTORECONF} -vif
70
COMMAND ./configure
71
--prefix=${DEPENDS_PATH}
0 commit comments