From 7b83b1db25ab0411e537b7cdac0dc653d4bbc951 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 11 Mar 2002 17:52:43 +0000 Subject: Do not link in runtime library anymore, assume that user manually links in libraries. Code should be generalized to allow lli to take -lc -lm arguments in the future (todo) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1852 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/ExecutionEngine/Interpreter/UserInput.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/ExecutionEngine/Interpreter/UserInput.cpp') diff --git a/lib/ExecutionEngine/Interpreter/UserInput.cpp b/lib/ExecutionEngine/Interpreter/UserInput.cpp index 1cd8b08c1f..a37224b1b1 100644 --- a/lib/ExecutionEngine/Interpreter/UserInput.cpp +++ b/lib/ExecutionEngine/Interpreter/UserInput.cpp @@ -161,6 +161,7 @@ void Interpreter::loadModule(const string &Filename) { } CW.setModule(CurMod); // Update Writer +#if 0 string RuntimeLib = getCurrentExecutablePath(); if (!RuntimeLib.empty()) RuntimeLib += "/"; RuntimeLib += "RuntimeLib.bc"; @@ -173,6 +174,7 @@ void Interpreter::loadModule(const string &Filename) { std::cerr << "Error loading runtime library '"+RuntimeLib+"': " << ErrorMsg << "\n"; } +#endif } -- cgit v1.2.3-18-g5258