diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/skia/allow-disabling-lib-dl.patch | |
Diffstat (limited to 'vcpkg/ports/skia/allow-disabling-lib-dl.patch')
| -rw-r--r-- | vcpkg/ports/skia/allow-disabling-lib-dl.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/vcpkg/ports/skia/allow-disabling-lib-dl.patch b/vcpkg/ports/skia/allow-disabling-lib-dl.patch new file mode 100644 index 0000000..94cd3e1 --- /dev/null +++ b/vcpkg/ports/skia/allow-disabling-lib-dl.patch @@ -0,0 +1,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() { |