use GET_FILENAME_COMPONENT( ... REALPATH) to get (non-symlink) LIB_PYTHON target

Review Request #116719 - Created March 11, 2014 and submitted

Information
Rex Dieter
pykde4
master
Reviewers
kdebindings

pykde runtime dlopen's LIB_PYTHON as returned by cmake. This is often a symlink, but some distros (including fedora) usually package library symlinks only in -devel packaging, not runtime. To avoid this problem, call GET_FILENAME_COMPONENT( ... REALPATH) to resolve the symlink and use that value instead.

fedora has been shipping with this patch since March 2014 without ill effects

Rex Dieter
Rex Dieter
Rex Dieter
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 34bed3ceb7cd2bb43e67acce97f4cc3e8bbc1c1d by Rex Dieter to branch KDE/4.14.
Loading...