Use a 'extra_libs' key instead of 'properties'.

'properties' is too close of the meson definition and we need to duplicate
the entries for 'c_link_args' and 'cpp_link_args'.

By using 'extra_libs' we have a more functional definition of what we want.
This commit is contained in:
Matthieu Gautier
2017-03-07 22:06:19 +01:00
parent 29bba313bc
commit 940cea290d
2 changed files with 6 additions and 11 deletions

View File

@ -6,8 +6,8 @@ cpp = '{toolchain.binaries[CXX]}'
strip = '{toolchain.binaries[STRIP]}'
[properties]
c_link_args = {properties[c_link_args]!r}
cpp_link_args = {properties[cpp_link_args]!r}
c_link_args = {extra_libs!r}
cpp_link_args = {extra_libs!r}
[host_machine]
cpu_family = '{host_machine[cpu_family]}'