Browse Source

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

See https://github.com/xmake-io/xmake/issues/4745.
yh-sb 1 năm trước cách đây
mục cha
commit
b338b5b235
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/b/boost/xmake.lua

+ 1 - 1
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