Specify the shared library for g-ir-compile
Use the --shared-library option to specify the shared object to link against when compiling the typelib from the GIR data. Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
This commit is contained in:
parent
366e0f9cd7
commit
68f8a98cfb
@ -312,7 +312,11 @@ typelibsdir = $(libdir)/girepository-1.0/
|
|||||||
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
||||||
|
|
||||||
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
||||||
$(QUIET_GEN)$(DEBUG) $(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=. $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
$(QUIET_GEN)$(DEBUG) $(INTROSPECTION_COMPILER) \
|
||||||
|
--includedir=$(srcdir) \
|
||||||
|
--includedir=. \
|
||||||
|
--shared-library=libclutter-@CLUTTER_FLAVOUR@-@CLUTTER_API_VERSION@.la \
|
||||||
|
$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
||||||
|
|
||||||
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user