mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
meson: correctly detect linker arguments
Fixes: 22673a98 ("meson: Check arguments before adding")
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13961>
This commit is contained in:
parent
7a22967de3
commit
631b3fe3e9
1 changed files with 2 additions and 2 deletions
|
|
@ -1210,7 +1210,7 @@ if host_machine.system() == 'windows'
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
add_project_link_arguments(
|
add_project_link_arguments(
|
||||||
cc.get_supported_arguments(
|
cc.get_supported_link_arguments(
|
||||||
'-Wl,--nxcompat',
|
'-Wl,--nxcompat',
|
||||||
'-Wl,--dynamicbase',
|
'-Wl,--dynamicbase',
|
||||||
'-static-libgcc',
|
'-static-libgcc',
|
||||||
|
|
@ -1219,7 +1219,7 @@ if host_machine.system() == 'windows'
|
||||||
language : ['c'],
|
language : ['c'],
|
||||||
)
|
)
|
||||||
add_project_link_arguments(
|
add_project_link_arguments(
|
||||||
cpp.get_supported_arguments(
|
cpp.get_supported_link_arguments(
|
||||||
'-Wl,--nxcompat',
|
'-Wl,--nxcompat',
|
||||||
'-Wl,--dynamicbase',
|
'-Wl,--dynamicbase',
|
||||||
'-static-libgcc',
|
'-static-libgcc',
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue