projects
/
projects
/
chimara
/
chimara.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
44de869
)
Workaround mysterious dlopen bug on Python import
author
P. F. Chimento
<philip.chimento@gmail.com>
Mon, 22 Oct 2012 20:00:04 +0000
(22:00 +0200)
committer
P. F. Chimento
<philip.chimento@gmail.com>
Sat, 20 Apr 2013 15:02:24 +0000
(17:02 +0200)
libchimara/Makefile.am
patch
|
blob
|
history
diff --git
a/libchimara/Makefile.am
b/libchimara/Makefile.am
index 8f7c216754655768c88487ad7662f7fb794bdc79..b39c8f1455ae088b01caca7ab1294a33f0433369 100644
(file)
--- a/
libchimara/Makefile.am
+++ b/
libchimara/Makefile.am
@@
-70,7
+70,13
@@
CLEANFILES =
-include $(INTROSPECTION_MAKEFILE)
INTROSPECTION_GIRS =
INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir)
-include $(INTROSPECTION_MAKEFILE)
INTROSPECTION_GIRS =
INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir)
-INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
+# The '--shared-library' incantation is because, for some reason, the typelib
+# only stores the filename without a pathname (see, in gobject-introspection,
+# _g_typelib_do_dlopen() in gitypelib.c around line 2100.) This is a regression
+# in either gobject-introspection or g-ir-compiler, but I can't pinpoint it.
+INTROSPECTION_COMPILER_ARGS = \
+ --includedir=$(srcdir) \
+ --shared-library=$(libdir)/libchimara.so.0
if HAVE_INTROSPECTION
introspection_sources = \
if HAVE_INTROSPECTION
introspection_sources = \