[glib] gio: Fix build on OS X < 10.9



commit 9d27ed1d78d9b6df9059bb413809943082dc49ba
Author: Ryan Schmidt <gnome ryandesign com>
Date:   Thu Mar 15 21:16:00 2018 +0000

    gio: Fix build on OS X < 10.9
    
    Commit 170466db accidentally partially reverted commit d1a03bc7.
    Reinstate the missing check for OS X 10.9.
    
    The Meson build does not have this problem.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=794380

 gio/Makefile.am | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/gio/Makefile.am b/gio/Makefile.am
index d7fcb9161..df4f24014 100644
--- a/gio/Makefile.am
+++ b/gio/Makefile.am
@@ -613,8 +613,11 @@ libgio_objc_2_0_la_SOURCES = \
        gnextstepsettingsbackend.c \
        gosxcontenttype.c \
        gosxappinfo.c \
-       gosxappinfo.h \
+       gosxappinfo.h
+if MAC_OS_X_9
+libgio_objc_2_0_la_SOURCES += \
        gcocoanotificationbackend.c
+endif
 
 noinst_LTLIBRARIES += libgio-objc-2.0.la
 libgio_2_0_la_LIBADD += libgio-objc-2.0.la


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