Use readelf to find project dependencies

Authored by apol on Dec 20 2017, 7:42 PM.

Description

Use readelf to find project dependencies

Summary:
We were using a link.txt file that cmake used to generate, on newer cmake
versions it doesn't anymore.
Instead use readelf, much like androiddeployqt does, to extract the
depenencies.
Catch: It relies on having all the binaries being at the same subdirectory,
which is the default in ECM since not long ago.

Test Plan: Build kirigamigallery with it

Reviewers: Frameworks, Build System, aacid

Reviewed By: aacid

Subscribers: mart

Tags: Frameworks, Build System

Differential Revision: https://phabricator.kde.org/D8173

Details

Committed
apolDec 20 2017, 9:35 PM
Reviewer
aacid
Differential Revision
D8173: Use readelf to find project dependencies
Parents
R240:24134c972e37: Introduce INSTALL_PREFIX_SCRIPT to easily set up prefixes
Branches
Unknown
Tags
Unknown
References
tag: v5.42.0-rc1, tag: v5.42.0