projects
/
platform
/
upstream
/
glslang.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4508a81
)
BUILD.gn: only use complete_static_lib on mac
author
Corentin Wallez
<cwallez@chromium.org>
Tue, 2 Oct 2018 13:23:08 +0000
(09:23 -0400)
committer
Corentin Wallez
<cwallez@chromium.org>
Tue, 2 Oct 2018 13:28:15 +0000
(09:28 -0400)
BUILD.gn
patch
|
blob
|
history
diff --git
a/BUILD.gn
b/BUILD.gn
index
91bb4bb
..
8f8e81f
100644
(file)
--- a/
BUILD.gn
+++ b/
BUILD.gn
@@
-157,7
+157,11
@@
static_library("glslang_static") {
deps = [
":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:no_chromium_code" ]