Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhance get_software_libdir to return lib or lib64 if only one of them contains library files #4513

Merged
merged 2 commits into from
Jun 7, 2024

Commits on Apr 22, 2024

  1. get_software_libdir: return dir if it's only 1 with libs

    There are situations e.g. with recent Gentoo where all 64-bit libraries
    are under `lib64`, but `lib` is seperate and used for other files and
    directories (e.g. `lib/python`), and for 32-bit libraries.
    
    `get_software_libdir` would fail for such. To avoid this:
    
    if `only_one` is `True` (default), *and* no specific file (`fs`) is
    specified (also default), *and* `lib` and `lib64` both exist and are
    separate, and only one of them has libraries (shared or static),
    it returns that one directory.
    bartoldeman committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    1636724 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2024

  1. Configuration menu
    Copy the full SHA
    171fdb8 View commit details
    Browse the repository at this point in the history