summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/tools/lto2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/lto2/Makefile b/llvm/tools/lto2/Makefile
index 30f6ed81878..29a5ce3f104 100644
--- a/llvm/tools/lto2/Makefile
+++ b/llvm/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)" \
OpenPOWER on IntegriCloud