use PROJ_SRC_DIR so this builds with Apple style builds
[oota-llvm.git] / tools / lto2 / Makefile
index 30f6ed818788f004a639c7d8389993683d299e6b..29a5ce3f1044b6f2f0adf29060a0a8d3f0d26b46 100644 (file)
@@ -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)" \