cmake: Install host packages to lib instead of lib64
authorRosen Penev <rosenp@gmail.com>
Sun, 17 Nov 2019 21:42:04 +0000 (13:42 -0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 22 Dec 2019 23:31:48 +0000 (00:31 +0100)
commitdf45ef54368d3e4f872928f47edc424d843b120d
treefe6da02325667767b09ce8563f5452cd1caf9038
parent6351205d7354117a9336fe4150ad264eb93f72e7
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>
(cherry picked from commit 383abffb1179a142b4c8f86559baad5b24d391c3)
include/cmake.mk