mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
build: Allow to build cogl without an external glib dependency
This commit pushes --disable-glib to the extreme of embedding the par of glib cogl depends on in tree to be able to generate a DSO that does not depend on an external glib. To do so, it: - keeps a lot of glib's configure.ac in as-glibconfig.m4 - pulls the code cogl depends on and the necessary dependencies Reviewed-by: Robert Bragg <robert@linux.intel.com>
This commit is contained in:

committed by
Robert Bragg

parent
df21e20f65
commit
d2c41502a4
@ -1,7 +1,8 @@
|
||||
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
||||
|
||||
INCLUDES = \
|
||||
-I$(top_srcdir)
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir)/deps/glib
|
||||
|
||||
AM_CFLAGS = \
|
||||
$(COGL_DEP_CFLAGS) \
|
||||
@ -16,6 +17,7 @@ endif
|
||||
|
||||
common_ldadd = \
|
||||
$(COGL_DEP_LIBS) \
|
||||
$(top_builddir)/deps/glib/libglib.la \
|
||||
$(top_builddir)/cogl/libcogl.la
|
||||
|
||||
programs = cogl-info
|
||||
|
Reference in New Issue
Block a user