summaryrefslogtreecommitdiff
path: root/docs/meson.build
diff options
context:
space:
mode:
authorJonathon Anderson <anderson.jonathonm@gmail.com>2024-07-12 22:00:46 -0500
committerEli Schwartz <eschwartz93@gmail.com>2024-07-15 15:11:20 -0400
commit6165db80bb0d014d9d1fc0d3f8a9d78e92492b94 (patch)
treec42812167eec8dd1e14aaf8208fa2fbc98ad3882 /docs/meson.build
parentb1f4e1495d4f03f4ef68d59535bd954686def3af (diff)
downloadmeson-6165db80bb0d014d9d1fc0d3f8a9d78e92492b94.tar.gz
cmake: Only propagate interface link flags in dep
CMake has two target properties, LINK_OPTIONS and INTERFACE_LINK_OPTIONS. The former is for link flags that apply only to the target (PRIVATE). The latter is used for link flags that propagate to dependents (PUBLIC or INTERFACE). Meson currently propagates all flags, PUBLIC and PRIVATE, as part of the generated dependency() which causes problems when some of the private flags are highly disruptive, e.g. `-Wl,--version-script`. Tease apart the two kinds of link flags and, for non-static libraries, only propagate the PUBLIC/INTERFACE flags and not the PRIVATE ones.
Diffstat (limited to 'docs/meson.build')
0 files changed, 0 insertions, 0 deletions