summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules
index f4a1bc95db..0c5d9066a3 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -979,7 +979,7 @@ ifdef EXPORTED_SYMBOL_FILE
ifeq ($(HOST_OS),Darwin)
# Darwin convention prefixes symbols with underscores.
NativeExportsFile := $(ObjDir)/$(EXPORTED_SYMBOL_FILE).sed
-$(NativeExportsFile): $(EXPORTED_SYMBOL_FILE)
+$(NativeExportsFile): $(EXPORTED_SYMBOL_FILE) $(ObjDir)/.dir
$(Verb) sed -e 's/[[:<:]]/_/' < $< > $@
clean-local::
-$(Verb) $(RM) -f $(NativeExportsFile)