diff options
author | Ingo Klöcker <[email protected]> | 2024-12-04 15:35:02 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2024-12-04 16:02:40 +0000 |
commit | 7a42ec5d466dfb5d4571773e22a51d0786b76d85 (patch) | |
tree | bbc60b649032c84710fcf0f15af5cb03d6cbc327 /src | |
parent | build,python: Add Python 3.13 and remove Python 3.8 (diff) | |
download | gpgme-7a42ec5d466dfb5d4571773e22a51d0786b76d85.tar.gz gpgme-7a42ec5d466dfb5d4571773e22a51d0786b76d85.zip |
build,python: Fix uninstalling in distcheck
* lang/python/Makefile.am (uninstall-local): Get platlib path relative
to data path.
--
For unknown reasons (at least on my system) Python 3.1x's sysconfig
returns a platlib (== directory for site-specific, platform-specific
files) starting with /usr/local although the prefix config variable is
/usr. This broke uninstallation because a wrong folder was (tried to)
remove. Python 2.7 and 3.9 return a platlib starting with just /usr. In
order to always get the correct relative path we use the data path
instead of the prefix config variable as anchor directory.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions