tools/ccache: find libzstd using rpath

Previously, ccache would end up using the system libzstd, which is not
supposed to be a build requirement.

Signed-off-by: Thomas Nixon <tom@tomn.co.uk>
This commit is contained in:
Thomas Nixon 2021-01-09 22:04:48 +00:00 committed by Paul Spooren
parent b1150de9e4
commit c625c821d1

View File

@ -21,7 +21,10 @@ include $(INCLUDE_DIR)/cmake.mk
CMAKE_HOST_OPTIONS += \
-DCMAKE_C_COMPILER_LAUNCHER="" \
-DCMAKE_CXX_COMPILER_LAUNCHER=""
-DCMAKE_CXX_COMPILER_LAUNCHER="" \
-DCMAKE_SKIP_RPATH=FALSE \
-DCMAKE_INSTALL_RPATH="${STAGING_DIR_HOST}/lib" \
define Host/Install/ccache
$(INSTALL_DIR) $(STAGING_DIR_HOST)/bin/