From 5f1db0a8de6c328ff90088fb6e0f552e4b1d2267 Mon Sep 17 00:00:00 2001 From: Nick Kledzik Date: Wed, 27 Feb 2008 22:23:46 +0000 Subject: [PATCH] use PROJ_SRC_DIR so this builds with Apple style builds llvm-svn: 47694 --- llvm/tools/lto2/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/tools/lto2/Makefile b/llvm/tools/lto2/Makefile index 30f6ed818788..29a5ce3f1044 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)" \