From ad15e20bc02c6cb49373cd132dab173ac6d77149 Mon Sep 17 00:00:00 2001
From: Nick Kledzik <kledzik@apple.com>
Date: Wed, 27 Feb 2008 22:23:46 +0000
Subject: use PROJ_SRC_DIR so this builds with Apple style builds

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47694 91177308-0d34-0410-b5e6-96231b3b80d8
---
 tools/lto2/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'tools/lto2')

diff --git a/tools/lto2/Makefile b/tools/lto2/Makefile
index 30f6ed8..29a5ce3 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)" \
-- 
cgit v1.1