build: Calculate ABS_GLIB_RUNTIME_LIBDIR at build time
commit8c263008bbd9c1ce221276229e548d7b15dcb0d0
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Mon, 11 Jan 2016 14:23:45 +0000 (11 14:23 +0000)
committerPhilip Withnall <philip@tecnocode.co.uk>
Sun, 24 Jan 2016 14:44:44 +0000 (24 14:44 +0000)
tree6025aad3c02b236ed1baa55fa599260090190fc9
parent57f9c590f94bd74d1b3b72656fd1cc1c76000980
build: Calculate ABS_GLIB_RUNTIME_LIBDIR at build time

Rather than calculating it at configure time. This means it can expand
$libdir properly, and use the Make $(realpath) function rather than
invoking the non-portable `readlink -f`.

This fixes problems where `readlink` would be called on an invalid path
(due to a variable not being expanded) and would evaluate to "", which
would then cause things to be installed in the wrong place.

https://bugzilla.gnome.org/show_bug.cgi?id=744772
configure.ac
gio/Makefile.am
glib/Makefile.am
gobject/Makefile.am