D14909: Bindings: Check for libclang without version suffix also
Stefan BrĂ¼ns
noreply at phabricator.kde.org
Fri Aug 17 20:12:19 BST 2018
bruns created this revision.
bruns added a reviewer: Frameworks.
Herald added projects: Frameworks, Build System.
Herald added subscribers: kde-buildsystem, kde-frameworks-devel.
bruns requested review of this revision.
REVISION SUMMARY
The canonical name is libclang.so, which seems to be available on all
distributions (RH, SUSE, Ubuntu, Debian, ...) while the symlinks with
version suffix (e.g. libclang-6.0) are specific to Debian and derivatives.
Keep the current checks, but fallback to the unversioned library name.
TEST PLAN
on openSUSE TW/Leap:
run cmake
-> libclang is found
REPOSITORY
R240 Extra CMake Modules
BRANCH
find_libclang
REVISION DETAIL
https://phabricator.kde.org/D14909
AFFECTED FILES
find-modules/FindPythonModuleGeneration.cmake
To: bruns, #frameworks
Cc: kde-frameworks-devel, kde-buildsystem, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180817/f570a999/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list