Commit a26827ad by Corentin Wallez

BUILD.gn: only use complete_static_lib on mac

parent 4508a817
...@@ -157,7 +157,11 @@ static_library("glslang_static") { ...@@ -157,7 +157,11 @@ static_library("glslang_static") {
deps = [ deps = [
":glslang_sources", ":glslang_sources",
] ]
complete_static_lib = true
# Without this the macOS linker complains that the static library is empty
if (is_mac) {
complete_static_lib = true
}
configs -= [ "//build/config/compiler:chromium_code" ] configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ] configs += [ "//build/config/compiler:no_chromium_code" ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment