mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 01:50:42 -05:00
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)
|
||||
|
||||
%.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)
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user