angelscript/angelscript-fix-aarch64.patch

18 lines
595 B
Diff

--- sdk/angelscript/projects/meson/meson.build.orig 2021-04-02 07:42:31.195376514 +0000
+++ sdk/angelscript/projects/meson/meson.build 2021-04-02 07:43:50.493193363 +0000
@@ -50,6 +50,14 @@ if host_machine.cpu_family() == 'arm'
]
endif
+if host_machine.cpu_family() == 'aarch64'
+ add_languages('c')
+ angel_srcs += [
+ '../../source/as_callfunc_arm64.cpp',
+ '../../source/as_callfunc_arm64_gcc.S',
+ ]
+endif
+
angelscript_version_num = run_command(find_program('python3'), 'detect_ver.py', '--num').stdout().strip()
angelscript_lib = library(
'angelscript',