summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau2024-09-20 09:23:24 +0000
committerHauke Mehrtens2024-09-20 20:21:03 +0000
commit66055df3e0d8624587637f7a53285e6934008c54 (patch)
tree9e5a34c8f9ab3b4c454cb93a60b3cfc1b9e88495
parentdd4b05ee8a6a80ddf4e0ed188234fa04d841867c (diff)
downloadopenwrt-66055df3e0d8624587637f7a53285e6934008c54.tar.gz
ucode: another fix for host installation
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> (cherry picked from commit 2ee1392e094f9b6fdb2a759e2e29fa203b61e066)
-rw-r--r--package/utils/ucode/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/utils/ucode/Makefile b/package/utils/ucode/Makefile
index 7fc5e9b071..b00dcf7572 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"