[meson] Use a c linker for on Windows also
Using a C linker was limited to non-Windows as 20a840c7
, let's
revisit this while transition to meson.
Packagers easily override that via the option and use a C++ linker
if needed.
This commit is contained in:
parent
cc53fd158c
commit
d9177a594b
|
@ -364,12 +364,9 @@ if have_icu and have_icu_builtin
|
|||
deps += [icu_dep]
|
||||
endif
|
||||
|
||||
if host_machine.system() == 'windows' or get_option('with_libstdcxx')
|
||||
if not get_option('with_libstdcxx')
|
||||
chosen_linker = 'cpp'
|
||||
else
|
||||
# our autotools port was limiting this to HAVE_GCC as https://github.com/harfbuzz/harfbuzz/commit/e784632
|
||||
# let's see if that is needed anymore
|
||||
|
||||
# Use a C linker, not C++; Don't link to libstdc++
|
||||
chosen_linker = 'c'
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue