Skip to content

Commit

Permalink
mingw: let meson set link args
Browse files Browse the repository at this point in the history
  • Loading branch information
flightlessmango committed Jun 20, 2024
1 parent 9cb5a40 commit 2b00432
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions mingw32.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ c = 'i686-w64-mingw32-gcc'
cpp = 'i686-w64-mingw32-g++'
ar = 'i686-w64-mingw32-ar'
strip = 'i686-w64-mingw32-strip'
pkgconfig = 'i686-w64-mingw32-pkg-config'
pkg-config = 'i686-w64-mingw32-pkg-config'
sh = '/usr/bin/sh'

[properties]
c_link_args = ['-static', '-static-libgcc']
cpp_link_args = ['-static', '-static-libgcc', '-static-libstdc++']
needs_exe_wrapper = true

[host_machine]
Expand Down
4 changes: 1 addition & 3 deletions mingw64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ c = 'x86_64-w64-mingw32-gcc'
cpp = 'x86_64-w64-mingw32-g++'
ar = 'x86_64-w64-mingw32-ar'
strip = 'x86_64-w64-mingw32-strip'
pkgconfig = 'x86_64-w64-mingw32-pkg-config'
pkg-config = 'x86_64-w64-mingw32-pkg-config'
sh = '/usr/bin/sh'

[properties]
c_link_args = ['-static', '-static-libgcc']
cpp_link_args = ['-static', '-static-libgcc', '-static-libstdc++']
needs_exe_wrapper = true

[host_machine]
Expand Down

0 comments on commit 2b00432

Please sign in to comment.