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

Fix libdir location in pkgconfig files. #3027

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

Commits on Apr 1, 2024

  1. Fix libdir location in pkgconfig files.

    The pkgconfig files currently hardcode the library directory as
    ${prefix}/lib, but the library installation directory in config.mk is
    set as lib${LIB_SUFFIX}.  This causes a mismatch between the library
    installation directory and the pkgconfig file on redhat-based 64-bit
    systems.
    
    This commit remedies the issue for both the Makefile and CMake build by
    modifying the pkgconfig files to use CMAKE_INSTALL_LIBDIR instead of
    "lib".  In the CMake system, this directly reflects the installation
    path.  The Makefiles were modified to replace CMAKE_INSTALL_LIBDIR with
    lib${LIB_SUFFIX}, matching the libdir definition in config.mk and
    following the pattern used in defining the prefix.
    
    Signed-off-by: Rich Mattes <richmattes@gmail.com>
    richmattes committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    72c2d3a View commit details
    Browse the repository at this point in the history