The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=12326 ====================================================================== Reported By: Modestas Vainius Assigned To: ====================================================================== Project: CMake Issue ID: 12326 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2011-07-09 14:03 EDT Last Modified: 2011-07-09 14:03 EDT ====================================================================== Summary: [linux multiarch] /lib/<arch> is not in implicit link directories list Description: This is related to 0012037. CMake does not consider /lib/<arch> as implicit link directory as it's not in CMAKE_C_IMPLICIT_LINK_DIRECTORIES nor CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES. As a result, its sometimes (wrongly) adds /lib/<arch> to R(UN)PATH. I attach the patch which solves this issue. Not sure if it's a right way and if more path clean up calls are not needed.
By the way, what's more alarming is that solution proposed in http://public.kitware.com/Bug/view.php?id=11751#c25028 will no longer work as CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES variable no longer has needed multiarch directories... However, it's too early to mess with CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES in Modules/Platform/UnixPath.cmake ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2011-07-09 14:03 Modestas VainiusNew Issue 2011-07-09 14:03 Modestas VainiusFile Added: multiarch_lib_dirs_should_be_implicit.diff ====================================================================== _______________________________________________ cmake-developers mailing list [email protected] http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
