]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libhandle: fix installation for symlinked /usr
authorJan Tulak <jan@tulak.me>
Mon, 18 Aug 2014 01:11:06 +0000 (11:11 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 18 Aug 2014 01:11:06 +0000 (11:11 +1000)
commit02ef5434f3f0db4653f6c9e235cd52fa5a29de60
tree412c13abed0ab86a8eb9351b37e42741577b212a
parentba24eb7c8288b1b21cbf00146a6740b2d3fd3128
libhandle: fix installation for symlinked /usr

Canonicalize the pathnames for PKG_LIB_DIR and PKG_ROOT_LIB_DIR
before checking if they are the same.  This is required for Fedora
which doesn't have a separate /usr/lib directory anymore.

[Christoph Hellwig: reformat and change to canonical names]

Reported-by: Jan Tulak <jan@tulak.me>
Signed-off-by: Jan Tulak <jan@tulak.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
include/buildmacros