1
0
Fork 0
mutter-performance-source/cogl-pango
Alexandre Rostovtsev 565e2cabd8 cogl-pango: prevent linking to system cogl during make install
At the moment, on make install, libcogl-pango will link to the
version of libcogl that is installed system wide. This leads to
interesting problems when the version installed system wide is
incompatible with the version of cogl being built.

E.g., when building cogl-1.7.4 (with --enable-cogl-pango and
--prefix=/usr) on a system that has cogl-1.7.2 installed in /usr:

$ make
[...]
$ ldd cogl-pango/.libs/libcogl-pango.so | grep cogl
	libcogl.so.2 => /var/tmp/cogl-1.7.4/cogl/.libs/libcogl.so.2 (0x00007eff4bfb2000)
$ make DESTDIR=/var/tmp/cogl-1.7.4/dest install
[...]
$ ldd /var/tmp/cogl-1.7.4/dest/usr/lib64/libcogl-pango.so | grep cogl
	libcogl.so.1 => /usr/lib64/libcogl.so.1 (0x00007f4647747000)

This problem can be avoided by reordering libcogl_pango_la_LIBADD
to ensure that during make installs' relinking phase, libtool looks
at the libcogl in the build directory before the system wide libcogl.

https://bugzilla.gnome.org/show_bug.cgi?id=655026

Reviewed-By: Robert Bragg <robert@linux.intel.com>
Reviewed-By: Emmanuele Bassi <ebassi@linux.intel.com>
2011-07-27 18:21:27 +01:00
..
cogl-pango-1.0.pc.in build: Don't make cogl-pango-1.0 depend on cogl-2.0 2011-05-06 17:34:57 +01:00
cogl-pango-2.0-experimental.pc.in Make it clearer that the 2.0 API is experimental 2011-06-14 17:09:55 +01:00
cogl-pango-display-list.c Dynamically load the GL or GLES library 2011-07-11 12:57:38 +01:00
cogl-pango-display-list.h consistently refer to cogl-pango as "cogl-pango" 2011-05-06 12:12:08 +01:00
cogl-pango-fontmap.c Fix introspection annotations for CoglPango 2011-06-09 16:19:44 +01:00
cogl-pango-glyph-cache.c consistently refer to cogl-pango as "cogl-pango" 2011-05-06 12:12:08 +01:00
cogl-pango-glyph-cache.h consistently refer to cogl-pango as "cogl-pango" 2011-05-06 12:12:08 +01:00
cogl-pango-pipeline-cache.c consistently refer to cogl-pango as "cogl-pango" 2011-05-06 12:12:08 +01:00
cogl-pango-pipeline-cache.h consistently refer to cogl-pango as "cogl-pango" 2011-05-06 12:12:08 +01:00
cogl-pango-private.h consistently refer to cogl-pango as "cogl-pango" 2011-05-06 12:12:08 +01:00
cogl-pango-render.c cogl-pango-render: Use the glyph size for unknown glyphs 2011-06-10 14:03:50 +01:00
cogl-pango.h consistently refer to cogl-pango as "cogl-pango" 2011-05-06 12:12:08 +01:00
cogl-pango.pc.in consistently refer to cogl-pango as "cogl-pango" 2011-05-06 12:12:08 +01:00
Makefile.am cogl-pango: prevent linking to system cogl during make install 2011-07-27 18:21:27 +01:00