Fix boost build with mingw toolchain which has spaces in its path. (#3314)

See https://github.com/xmake-io/xmake/issues/4745.
pull/3320/head
yh-sb 1 year ago committed by GitHub
parent f292072f38
commit b338b5b235
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      packages/b/boost/xmake.lua

@ -171,7 +171,7 @@ package("boost")
else
cxx = cxx:gsub("gcc$", "g++")
cxx = cxx:gsub("clang$", "clang++")
return format("using gcc : : %s ;", cxx:gsub("\\", "/"))
return format("using gcc : : \"%s\" ;", cxx:gsub("\\", "/"))
end
end

Loading…
Cancel
Save