diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2017-04-21 16:07:03 +0530 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2017-04-21 10:15:18 -0700 |
commit | 22c4cd6e251f237f31b0612097e33dec391683fb (patch) | |
tree | 2b8f9fe9193062d34e3fdf6788a9d78e44cc101e /mesonbuild/environment.py | |
parent | 723884a369efa6fb5b825d76c4f81ba124358e2d (diff) | |
download | meson-22c4cd6e251f237f31b0612097e33dec391683fb.zip meson-22c4cd6e251f237f31b0612097e33dec391683fb.tar.gz meson-22c4cd6e251f237f31b0612097e33dec391683fb.tar.bz2 |
Use linked-libraries to decide what linker to use
Sometimes you want to link to a C++ library that exports C API, which
means the linker must link in the C++ stdlib, and we must use a C++
compiler for linking. The same is also applicable for objc/objc++ etc,
so we can keep using clike_langs for the priority order.
Closes https://github.com/mesonbuild/meson/issues/1653
Diffstat (limited to 'mesonbuild/environment.py')
0 files changed, 0 insertions, 0 deletions