aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/lto2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lto2/Makefile b/tools/lto2/Makefile
index 30f6ed8187..29a5ce3f10 100644
--- a/tools/lto2/Makefile
+++ b/tools/lto2/Makefile
@@ -36,7 +36,7 @@ ifeq ($(OS),Darwin)
# extra options to override libtool defaults
LLVMLibsOptions := $(LLVMLibsOptions) \
-no-undefined -avoid-version \
- -Wl,-exported_symbols_list -Wl,lto.exports \
+ -Wl,-exported_symbols_list -Wl,$(PROJ_SRC_DIR)/lto.exports \
-Wl,-dead_strip \
-Wl,-install_name \
-Wl,"@executable_path/../lib/lib$(LIBRARYNAME)$(SHLIBEXT)" \