Only use SHLIB_SUFFIX on darwin, otherwise use G_MODULE_SUFFIX, we cannot

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.


svn path=/trunk/; revision=806
This commit is contained in:
Johan Dahlin 2008-10-24 11:19:49 +00:00 committed by Johan Dahlin
parent 294bf64206
commit 8d06e5c8e7

View File

@ -35,6 +35,11 @@ typedef struct {
#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)
{