[gtk/wip/chergert/quartz4u: 3/5] build: do not use static libepoxy on macOS



commit 06e141ed35a0c92cf9207de0108312bae5e2347d
Author: Christian Hergert <chergert redhat com>
Date:   Fri Jul 17 18:03:43 2020 -0700

    build: do not use static libepoxy on macOS
    
    The static libepoxy does not appear to work on macOS so this avoids the
    use of it when using the subproject.
    
    However, someone with more meson expertise should look this over and see
    if this is how we can best disable static only in the fallback situation.

 meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 85656d20c3..593f455ee1 100644
--- a/meson.build
+++ b/meson.build
@@ -364,7 +364,8 @@ pangocairo_dep = dependency('pangocairo', version: pango_req,
 pixbuf_dep     = dependency('gdk-pixbuf-2.0', version: gdk_pixbuf_req,
                             fallback : ['gdk-pixbuf', 'gdkpixbuf_dep'])
 epoxy_dep      = dependency('epoxy', version: epoxy_req,
-                            fallback: ['libepoxy', 'libepoxy_dep'])
+                            fallback: ['libepoxy', 'libepoxy_dep'],
+                            static: not os_darwin)
 atk_dep        = dependency('atk', version: atk_req)
 harfbuzz_dep   = dependency('harfbuzz', version: '>= 0.9', required: false)
 xkbdep         = dependency('xkbcommon', version: xkbcommon_req, required: wayland_enabled)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]