ucode: another fix for host installation
authorFelix Fietkau <nbd@nbd.name>
Fri, 20 Sep 2024 09:23:24 +0000 (11:23 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 20 Sep 2024 09:47:00 +0000 (11:47 +0200)
The previous host installation fix accidentally moved the rpath settings
out of CMAKE_HOST_OPTIONS and into CMAKE_OPTIONS.

Fixes: ae42ecaad4e7 ("ucode: fix host installation")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/utils/ucode/Makefile

index e1703cdca18f77bd70fdc81bb0e4eef8c15bdaf4..9dcd5ff3ab0a486ef8d80398cffe0e5d6d164bc3 100644 (file)
@@ -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"