blob: 94cd3e14e28c25216db3d2bf8adb2f32d2803b76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
diff --git a/BUILD.gn b/BUILD.gn
index 306bfffaf8..1632feccd4 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1740,7 +1740,9 @@ skia_component("skia") {
if (is_ios) {
sources += [ "src/ports/SkOSFile_ios.h" ]
}
- libs += [ "dl" ]
+ if (skia_vcpkg_has_lib_dl) {
+ libs += [ "dl" ]
+ }
}
if (is_android) {
diff --git a/gn/skia.gni b/gn/skia.gni
index bea9cd832a..56a2125ea9 100644
--- a/gn/skia.gni
+++ b/gn/skia.gni
@@ -105,6 +105,8 @@ declare_args() {
}
skia_build_rust_targets = false
+
+ skia_vcpkg_has_lib_dl = true
}
declare_args() {
|