diff --git a/package/utils/ucode/Makefile b/package/utils/ucode/Makefile index e1703cdca18f77..9dcd5ff3ab0a48 100644 --- a/package/utils/ucode/Makefile +++ b/package/utils/ucode/Makefile @@ -26,7 +26,9 @@ include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/cmake.mk CMAKE_OPTIONS += \ - -DSOVERSION=$(PKG_ABI_VERSION) \ + -DSOVERSION=$(PKG_ABI_VERSION) + +CMAKE_HOST_OPTIONS += \ -DCMAKE_SKIP_RPATH=FALSE \ -DCMAKE_INSTALL_RPATH="${STAGING_DIR_HOSTPKG}/lib"