Duplicate ldflags into cross.meson

For some reason, meson ignores LDFLAGS when cross compiling, so those
need to be duplicated here...
This commit is contained in:
BtbN 2021-04-25 21:55:59 +02:00
parent ff109e148a
commit 282aab5c38
2 changed files with 4 additions and 4 deletions

View file

@ -7,8 +7,8 @@ windres = 'i686-w64-mingw32-windres'
exe_wrapper = ['wine']
[properties]
c_link_args = ['-static-libgcc']
cpp_link_args = ['-static-libgcc', '-static-libstdc++']
c_link_args = ['-static-libgcc', '-L/opt/ffbuild/lib', '-O2', '-pipe', '-fstack-protector-strong']
cpp_link_args = ['-static-libgcc', '-static-libstdc++', '-L/opt/ffbuild/lib', '-O2', '-pipe', '-fstack-protector-strong']
needs_exe_wrapper = true
[host_machine]

View file

@ -7,8 +7,8 @@ windres = 'x86_64-w64-mingw32-windres'
exe_wrapper = ['wine']
[properties]
c_link_args = ['-static-libgcc']
cpp_link_args = ['-static-libgcc', '-static-libstdc++']
c_link_args = ['-static-libgcc', '-L/opt/ffbuild/lib', '-O2', '-pipe', '-fstack-protector-strong']
cpp_link_args = ['-static-libgcc', '-static-libstdc++', '-L/opt/ffbuild/lib', '-O2', '-pipe', '-fstack-protector-strong']
needs_exe_wrapper = true
[host_machine]