From cfd72797b5328c9bb9328b7866a216c26bbec545 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 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(-) diff --git a/tools/lto2/Makefile b/tools/lto2/Makefile index 30f6ed81878..29a5ce3f104 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)" \