mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-23 07:03:44 +00:00
cmake: Install host packages to lib instead of lib64
Several CMake packages such as log4cplus and protobuf(-c) install to lib64 instead of lib on some hosts. This completely breaks rpath linking. Override it globally to avoid fixing each package individually. Signed-off-by: Rosen Penev <rosenp@gmail.com> Tested-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
parent
d034a1f457
commit
383abffb11
@ -103,6 +103,7 @@ define Host/Configure/Default
|
|||||||
-DCMAKE_INSTALL_PREFIX=$(HOST_BUILD_PREFIX) \
|
-DCMAKE_INSTALL_PREFIX=$(HOST_BUILD_PREFIX) \
|
||||||
-DCMAKE_PREFIX_PATH=$(HOST_BUILD_PREFIX) \
|
-DCMAKE_PREFIX_PATH=$(HOST_BUILD_PREFIX) \
|
||||||
-DCMAKE_SKIP_RPATH=TRUE \
|
-DCMAKE_SKIP_RPATH=TRUE \
|
||||||
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||||
$(CMAKE_HOST_OPTIONS) \
|
$(CMAKE_HOST_OPTIONS) \
|
||||||
$(HOST_CMAKE_SOURCE_DIR) \
|
$(HOST_CMAKE_SOURCE_DIR) \
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user