From 77af1026e24e8b913459c3dbef485fe7799a6a46 Mon Sep 17 00:00:00 2001 From: Kron4ek Date: Sat, 2 Jan 2021 20:40:31 +0500 Subject: [PATCH] Use new section for c/cpp args and link_args (#1878) Using lang_args and lang_links_args in the [properties] section has been deprecated in Meson 0.56. [built-in options] section should be used instead. --- build-win32.txt | 4 +++- build-win64.txt | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/build-win32.txt b/build-win32.txt index 97ec8a35..a4c89505 100644 --- a/build-win32.txt +++ b/build-win32.txt @@ -4,11 +4,13 @@ cpp = 'i686-w64-mingw32-g++' ar = 'i686-w64-mingw32-ar' strip = 'i686-w64-mingw32-strip' -[properties] +[built-in options] c_args=['-msse', '-msse2'] cpp_args=['-msse', '-msse2'] c_link_args = ['-static', '-static-libgcc'] cpp_link_args = ['-static', '-static-libgcc', '-static-libstdc++'] + +[properties] needs_exe_wrapper = true [host_machine] diff --git a/build-win64.txt b/build-win64.txt index 2a7fbee3..1fad5ab7 100644 --- a/build-win64.txt +++ b/build-win64.txt @@ -4,9 +4,11 @@ cpp = 'x86_64-w64-mingw32-g++' ar = 'x86_64-w64-mingw32-ar' strip = 'x86_64-w64-mingw32-strip' -[properties] +[built-in options] c_link_args = ['-static', '-static-libgcc'] cpp_link_args = ['-static', '-static-libgcc', '-static-libstdc++'] + +[properties] needs_exe_wrapper = true [host_machine]