commit | 7855e4d6b77e6c05ced4a0f2f9e64dc8da479c64 | [log] [tgz] |
---|---|---|
author | Yee Fan <yeefan80@yahoo.com.sg> | Wed Apr 18 00:05:27 2018 +0800 |
committer | Yee Fan <yeefan80@yahoo.com.sg> | Thu Apr 19 02:53:46 2018 +0800 |
tree | 7e03288246d00a12046e1fd8af78c3a25b12b113 | |
parent | 48b5daaf7c497cc91fb48bb006ac7b83229171a9 [diff] |
FindPython: Add cross-compilation support for Debian-based systems. Debian-based Linux distributions locate their architecture-specific pythonX.Y-config tool at /usr/bin/<arch>-python<X.Y>-config. We first attempt to find and use the architecture-specific pythonX.Y-config tool. If the pythonX.Y-config tools are absent, then we proceed to find the architecture-specific Python libraries. Fixes: #17912