Help: CMAKE_NO_BUILTIN_CHRPATH applies to XCOFF too

This commit is contained in:
Craig Scott
2021-03-21 18:54:03 +11:00
committed by Brad King
parent 3d9aa96fca
commit 4a9fb82030

View File

@@ -1,10 +1,17 @@
CMAKE_NO_BUILTIN_CHRPATH CMAKE_NO_BUILTIN_CHRPATH
------------------------ ------------------------
Do not use the builtin ELF editor to fix RPATHs on installation. Do not use the builtin binary editor to fix runtime library search
paths on installation.
When an ELF binary needs to have a different RPATH after installation When an ELF or XCOFF binary needs to have a different runtime library
than it does in the build tree, CMake uses a builtin editor to change search path after installation than it does in the build tree, CMake uses
the RPATH in the installed copy. If this variable is set to true then a builtin editor to change the runtime search path in the installed copy.
CMake will relink the binary before installation instead of using its If this variable is set to true then CMake will relink the binary before
builtin editor. installation instead of using its builtin editor.
.. versionadded:: 3.20
This variable also applies to XCOFF binaries' LIBPATH. Prior to the
addition of the XCOFF editor in CMake 3.20, this variable applied only
to ELF binaries' RPATH/RUNPATH.