--- meson-1.6.0/mesonbuild/linkers/detect.py.orig +++ meson-1.6.0/mesonbuild/linkers/detect.py @@ -21,7 +21,7 @@ from ..mesonlib import MachineChoice defaults: T.Dict[str, T.List[str]] = {} -defaults['static_linker'] = ['ar', 'gar'] +defaults['static_linker'] = ['gar', 'ar'] defaults['vs_static_linker'] = ['lib'] defaults['clang_cl_static_linker'] = ['llvm-lib'] defaults['cuda_static_linker'] = ['nvlink']