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)
committerRISCi_ATOM <bob@bobcall.me>
Mon, 23 Dec 2019 17:17:17 +0000 (12:17 -0500)
commit72a98ec7f538cf6855533fc06416c19355cd871b
treed1f82aaea101c4c5305ca12eea13cea35be001e1
parentd08d1570d177c81b1f1da6a0d853f52ef1370338
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