Skip to content

Commit 7d7b094

Browse files
authored
[Meson] Correctly set C++ compiler
1 parent c67ccbe commit 7d7b094

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BuildToolchains.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ function toolchain_file(bt::Meson, p::AbstractPlatform)
150150
return """
151151
[binaries]
152152
c = '/opt/bin/$(target)/$(aatarget)-$(c_compiler(bt))'
153-
cpp = '/opt/bin/$(target)/$(aatarget)-$(c_compiler(bt))'
153+
cpp = '/opt/bin/$(target)/$(aatarget)-$(cxx_compiler(bt))'
154154
fortran = '/opt/bin/$(target)/$(aatarget)-$(fortran_compiler(bt))'
155155
objc = '/opt/bin/$(target)/$(aatarget)-objc'
156156
ar = '/opt/bin/$(target)/$(aatarget)-ar'

0 commit comments

Comments
 (0)