diff options
author | Johan Dahlin <johan@gnome.org> | 2008-10-24 11:19:49 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2008-10-24 11:19:49 +0000 |
commit | 06310e154add4426c1fec13dd1ef6d788a7fb31d (patch) | |
tree | 29d19c766c65b83975f741d3e5ac45b4e3dd0628 | |
parent | 4aee067c6c07c6b02217b7fe7ea875be7d3f81d5 (diff) | |
download | gobject-introspection-06310e154add4426c1fec13dd1ef6d788a7fb31d.tar.gz |
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
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | girepository/gtypelib.c | 5 |
2 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,9 @@ +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. + 2008-10-24 Lucas Rocha <lucasr@gnome.org> Bug 557623 - Constructors shouldn't be flagged as methods. diff --git a/girepository/gtypelib.c b/girepository/gtypelib.c index be470a4b..7ec1a1cb 100644 --- a/girepository/gtypelib.c +++ b/girepository/gtypelib.c @@ -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) { |