From 51b8b0bf3811fdc4e2b1bafaf60961f2c12f426d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20B=C3=A1lint=20Misius?= Date: Sat, 13 Nov 2021 06:37:54 +0100 Subject: [PATCH] Fix linker -no-pie flag *again* (broken by b5d17121) --- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index ffcc39c71..e61317704 100644 --- a/meson.build +++ b/meson.build @@ -206,7 +206,7 @@ else '-D_UNICODE', ] if uopt_static != 'none' - project_link_args = [ '-static', '-static-libgcc', '-static-libstdc++' ] + project_link_args += [ '-static', '-static-libgcc', '-static-libstdc++' ] endif endif if not get_option('debug') @@ -246,7 +246,7 @@ if copt_platform == 'win' endif elif copt_platform == 'lin' if uopt_static != 'none' - project_link_args = [ '-static-libgcc', '-static-libstdc++' ] + project_link_args += [ '-static-libgcc', '-static-libstdc++' ] endif endif