diff --git a/package/lld/lld.mk b/package/lld/lld.mk index a6933e2961..bda5a56ab5 100644 --- a/package/lld/lld.mk +++ b/package/lld/lld.mk @@ -14,6 +14,7 @@ HOST_LLD_DEPENDENCIES = host-llvm # GCC looks for tools in a different path from LLD's default installation path define HOST_LLD_CREATE_SYMLINKS + mkdir -p $(HOST_DIR)/$(GNU_TARGET_NAME)/bin ln -sf $(HOST_DIR)/bin/lld $(HOST_DIR)/$(GNU_TARGET_NAME)/bin/lld ln -sf $(HOST_DIR)/bin/lld $(HOST_DIR)/$(GNU_TARGET_NAME)/bin/ld.lld endef