Skip to content

Commit d14234f

Browse files
committed
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 <[email protected]>
1 parent c04bc12 commit d14234f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@ debugcc_srcs += configure_file(
6060

6161
executable('debugcc',
6262
debugcc_srcs,
63-
c_args : '-Wl,-static,-static-libgcc',
63+
link_args: ['-static','-static-libgcc'],
6464
install: true)

0 commit comments

Comments
 (0)