[Spice-commits] configure.ac

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed May 29 10:02:07 UTC 2019


 configure.ac |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 3c9b37bfc7c88969dfe16b8bfd874745e0fceb8a
Author: Jeffrey Wildman <jeffrey.wildman at gmail.com>
Date:   Mon May 27 12:52:54 2019 -0400

    Workaround gtk+ exposing Objective C in headers on macOS
    
    Acked-by: Frediano Ziglio <fziglio at redhat.com>

diff --git a/configure.ac b/configure.ac
index 6159169..69870b5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -63,6 +63,8 @@ AC_MSG_CHECKING([for native macOS])
 case "$host_os" in
      *darwin*)
         os_mac=yes
+        # Workaround gtk+ exposing Objective C: https://gitlab.gnome.org/GNOME/gtk/issues/1737
+        CFLAGS="${CFLAGS} -ObjC"
         ;;
      *)
         os_mac=no


More information about the Spice-commits mailing list