diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2017-07-24 13:44:43 -0700 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-08-03 00:52:18 +0300 |
commit | 6d939c67370e2fc3f4d4607864ed4addbef22cb7 (patch) | |
tree | 8930822ef644b18d9d4ae212724654009ed71b0e /mesonbuild/compilers/cpp.py | |
parent | 00a3d1ac4f86c85b3e0ba8e929e34547d20a0134 (diff) | |
download | meson-6d939c67370e2fc3f4d4607864ed4addbef22cb7.zip meson-6d939c67370e2fc3f4d4607864ed4addbef22cb7.tar.gz meson-6d939c67370e2fc3f4d4607864ed4addbef22cb7.tar.bz2 |
Consider link_whole_targets when determining linker
Currently if a target uses link_whole, and one of those archives is a
C++, but the files for the target are C linking will fail when the C
linker attempts to link the C++ files. This patches add
link_whole_targets to the list of languages in the target so the correct
linker will be selected.
Diffstat (limited to 'mesonbuild/compilers/cpp.py')
0 files changed, 0 insertions, 0 deletions