cogl-pango: prevent linking to system cogl during make install
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 <12e9293ec6b30c7fa8a0926af42807e929c1684f@linux.intel.com>
Reviewed-By: Emmanuele Bassi <049ee2061f71220e5aaf33f5be422fc2a2b06a44@linux.intel.com>

djdeath/cogl,gcampax/cogl,Distrotech/cogl,collects/cogl,djdeath/cogl,Distrotech/cogl,gcampax/cogl,djdeath/cogl-android,gcampax/cogl,djdeath/cogl,gcampax/cogl,djdeath/cogl-android,Distrotech/cogl,djdeath/cogl-android,Distrotech/cogl,collects/cogl