gobject-introspection r806 - in trunk: . girepository



Author: johan
Date: Fri Oct 24 11:19:49 2008
New Revision: 806
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=806&view=rev

Log:
2008-10-24  Johan Dahlin  <johan gnome org>

        * girepository/gtypelib.c:
        Only use SHLIB_SUFFIX on darwin, otherwise use
        G_MODULE_SUFFIX, we cannot get shext_cmds from libtool 2.2.



Modified:
   trunk/ChangeLog
   trunk/girepository/gtypelib.c

Modified: trunk/girepository/gtypelib.c
==============================================================================
--- trunk/girepository/gtypelib.c	(original)
+++ trunk/girepository/gtypelib.c	Fri Oct 24 11:19:49 2008
@@ -35,6 +35,11 @@
 #define ALIGN_VALUE(this, boundary) \
   (( ((unsigned long)(this)) + (((unsigned long)(boundary)) -1)) & (~(((unsigned long)(boundary))-1)))
 
+#if !defined(__Darwin__)
+#  undef SHLIB_SUFFIX
+#  define SHLIB_SUFFIX G_MODULE_SUFFIX 
+#endif
+
 static void
 push_context (ValidateContext *ctx, const char *name)
 {



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