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

CMakeLists: use absolute libdir in rpath handling #438

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jul 27, 2022

  1. CMakeLists: use absolute libdir in rpath handling

    Commit a26083b (Fixing libdirs for CMakeLists) switched from
    "${CMAKE_INSTALL_PREFIX}/lib" to "${CMAKE_INSTALL_LIBDIR}". It fixed the
    issue with lib vs lib64. But while the former is absolute, the latter
    needs not. That causes troubles as rpath can be set to something like
    "lib64" only. That is bogus.
    
    So fix this by using absolute "${CMAKE_INSTALL_FULL_LIBDIR}" from
    GNUInstallDirs which is already included and handles the paths
    correctly.
    
    Fixes stp#437.
    Jiri Slaby committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    0559e52 View commit details
    Browse the repository at this point in the history