summaryrefslogtreecommitdiffstats
path: root/Tests/X11
diff options
context:
space:
mode:
authorEric NOULARD <eric.noulard@gmail.com>2011-03-28 19:10:52 (GMT)
committerBrad King <brad.king@kitware.com>2011-03-31 18:45:48 (GMT)
commit126c993d031f6f7be4970a67621da92f580d4e5a (patch)
treeebdeff27da3746c082d55b02ad8ca440de1ead84 /Tests/X11
parent148b528f9d7d991dc01f277624df4a8aa41feccc (diff)
downloadCMake-126c993d031f6f7be4970a67621da92f580d4e5a.zip
CMake-126c993d031f6f7be4970a67621da92f580d4e5a.tar.gz
CMake-126c993d031f6f7be4970a67621da92f580d4e5a.tar.bz2
Fix #11964 Handle lib64 library on Linux
The AMD64 ABI document http://www.x86-64.org/documentation/abi.pdf does specify that 64bits binary libraries should end up in <prefix>/lib64 and 32bits ones in <prefix>/lib. All but debian based distros do so, and some like OpenSUSE even enforce the rule when packaging with RPM and refuse to build the RPM if this is not the case. After some discussion (see the bug notes) we cannot do that behind the scene and the current fix supposes that the user shall use the CMAKE_INSTALL_LIBDIR variables content in its INSTALL rules if he wants to put the lib in the right place. CMAKE_INSTALL_LIBDIR shall have the appropriate value depending on the Linux distribution found and 32/64bitness of the host. The cross-compiling case (even 32bits compile on a 64bits host) is not handled.
Diffstat (limited to 'Tests/X11')
0 files changed, 0 insertions, 0 deletions