aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--BUILD.gn1
-rw-r--r--third_party/icu/BUILD.gn2
2 files changed, 2 insertions, 1 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 0e4c0715f6..e7a495a02e 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -760,6 +760,7 @@ component("skia") {
"src/ports/SkOSLibrary_posix.cpp",
"src/ports/SkTLS_pthread.cpp",
]
+ libs += [ "dl" ]
}
if (is_android) {
diff --git a/third_party/icu/BUILD.gn b/third_party/icu/BUILD.gn
index 0a1683e81f..68a5923cc6 100644
--- a/third_party/icu/BUILD.gn
+++ b/third_party/icu/BUILD.gn
@@ -12,7 +12,7 @@ import("../third_party.gni")
if (skia_use_system_icu) {
system("icu") {
libs = [ "icuuc" ]
- public_defines = [ "U_USING_ICU_NAMESPACE=0" ]
+ defines = [ "U_USING_ICU_NAMESPACE=0" ]
}
} else {
third_party("icu") {