[anjuta] Fix Mac OS X build errors



commit fb8f9925bc64cba682ad697021d78c78c9ca73d5
Author: Tom Schoonjans <Tom Schoonjans bam de>
Date:   Thu Jul 23 10:05:27 2015 +0200

    Fix Mac OS X build errors
    
    * Undefined references in indentation-c-style and jhbuild. These changes
      should not have an impact on other platforms

 configure.ac                            |    2 ++
 plugins/indentation-c-style/Makefile.am |    2 ++
 plugins/jhbuild/Makefile.am             |    3 ++-
 3 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index c41402b..58b33bd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -484,9 +484,11 @@ dnl Checks for typedefs, structures, and compiler characteristics.
 AC_CANONICAL_HOST
 CYGWIN=no
 MINGW32=no
+MACOSX=no
 case $host_os in
   *cygwin* ) CYGWIN=yes;;
   *mingw32* ) MINGW32=yes;;
+  *darwin* ) MACOSX=yes;;
 esac
 
 
diff --git a/plugins/indentation-c-style/Makefile.am b/plugins/indentation-c-style/Makefile.am
index 5ae8e96..4ad76e3 100644
--- a/plugins/indentation-c-style/Makefile.am
+++ b/plugins/indentation-c-style/Makefile.am
@@ -50,6 +50,8 @@ libanjuta_indentation_c_style_la_SOURCES = \
        indentation.h
 
 libanjuta_indentation_c_style_la_LDFLAGS = $(ANJUTA_PLUGIN_LDFLAGS)
+libanjuta_indentation_c_style_la_LIBADD = \
+        $(LIBANJUTA_LIBS)
 
 gsettings_in_file = org.gnome.anjuta.plugins.indent-c.gschema.xml.in
 gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
diff --git a/plugins/jhbuild/Makefile.am b/plugins/jhbuild/Makefile.am
index 62f4370..bf56211 100644
--- a/plugins/jhbuild/Makefile.am
+++ b/plugins/jhbuild/Makefile.am
@@ -38,7 +38,8 @@ libanjuta_jhbuild_la_SOURCES = \
        plugin.h
 
 libanjuta_jhbuild_la_LDFLAGS = $(ANJUTA_PLUGIN_LDFLAGS)
-
+libanjuta_jhbuild_la_LIBADD = \
+        $(LIBANJUTA_LIBS)
 
 EXTRA_DIST = \
        $(plugin_in_files)


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