[glib/glib-2-56] gio: Fix build on OS X < 10.9



commit 6106d18ae6b426a7d94fc9ec5129d5319016dfae
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 67b7fa966..16c638732 100644
--- a/gio/Makefile.am
+++ b/gio/Makefile.am
@@ -612,8 +612,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]