meson.build: Fix static build by replacing build flags by link flags

Build flags wont carry to linker but link flags will.

Fixes: cf2b67a ("meson.build: bring back -static")
Signed-off-by: George Chan <gchan9527@gmail.com>
This commit is contained in:
George Chan
2024-08-28 17:19:05 +08:00
parent c04bc12b8f
commit d14234f40e

View File

@@ -60,5 +60,5 @@ debugcc_srcs += configure_file(
executable('debugcc',
debugcc_srcs,
c_args : '-Wl,-static,-static-libgcc',
link_args: ['-static','-static-libgcc'],
install: true)