summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/config.mk2
-rw-r--r--core/dynamic_binary.mk1
2 files changed, 2 insertions, 1 deletions
diff --git a/core/config.mk b/core/config.mk
index d1a0464..1b62e94 100644
--- a/core/config.mk
+++ b/core/config.mk
@@ -512,7 +512,7 @@ DX := $(HOST_OUT_EXECUTABLES)/dx
ZIPALIGN := $(HOST_OUT_EXECUTABLES)/zipalign$(HOST_EXECUTABLE_SUFFIX)
# relocation packer
-RELOCATION_PACKER := $(HOST_OUT_EXECUTABLES)/relocation_packer$(HOST_EXECUTABLE_SUFFIX)
+RELOCATION_PACKER := $(BUILD_OUT_EXECUTABLES)/relocation_packer$(BUILD_EXECUTABLE_SUFFIX)
FINDBUGS := /usr/bin/findbugs
EMMA_JAR := /usr/share/java/emma$(COMMON_JAVA_PACKAGE_SUFFIX)
diff --git a/core/dynamic_binary.mk b/core/dynamic_binary.mk
index a4224cd..7fb587b 100644
--- a/core/dynamic_binary.mk
+++ b/core/dynamic_binary.mk
@@ -72,6 +72,7 @@ endif
ifeq (true,$(my_pack_module_relocations))
# Pack relocations
+$(relocation_packer_output): $(RELOCATION_PACKER)
$(relocation_packer_output): $(relocation_packer_input) | $(ACP)
$(pack-elf-relocations)
else