We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 934a49d commit 7d108e5Copy full SHA for 7d108e5
mesonbuild/scripts/env2mfile.py
@@ -528,6 +528,12 @@ def process_ndk(self, ndk: pathlib.Path) -> None:
528
for name, path in bin_mappings.items():
529
ofile.write(f"{name} = '{path}'\n")
530
531
+ ofile.write('\n[built-in options]\n')
532
+ ofile.write('c_args = []\n')
533
+ ofile.write("c_link_args = ['-Wl,--build-id=sha1']\n")
534
+ ofile.write('cpp_args = c_args\n')
535
+ ofile.write('cpp_link_args = c_link_args\n')
536
+
537
ofile.write('\n[host_machine]\n')
538
ofile.write("system = 'android'\n")
539
ofile.write(f"cpu_family = '{ANDROID_CPU_TO_MESON_CPU_FAMILY[cpu]}'\n")
0 commit comments