diff --git a/deps/csl.mk b/deps/csl.mk index 1940984fdc199..e3f84aa98974d 100644 --- a/deps/csl.mk +++ b/deps/csl.mk @@ -76,8 +76,12 @@ else $(eval $(call copy_csl,$(call versioned_libname,libgcc_s_seh,1))) endif else +ifeq ($(APPLE_ARCH),arm64) +$(eval $(call copy_csl,$(call versioned_libname,libgcc_s,1.1))) +else $(eval $(call copy_csl,$(call versioned_libname,libgcc_s,1))) endif +endif # winpthread is only Windows, pthread is only others ifeq ($(OS),WINNT) $(eval $(call copy_csl,$(call versioned_libname,libwinpthread,1)))