From 9d27ed1d78d9b6df9059bb413809943082dc49ba Mon Sep 17 00:00:00 2001 From: Ryan Schmidt Date: Thu, 15 Mar 2018 21:16:00 +0000 Subject: [PATCH] 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