mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-04 09:00:33 +03:00
Do not use exteranl storage for enableRuntimeCompile flag
This commit is contained in:
parent
5bb48d84c4
commit
a9f6875494
7 changed files with 18 additions and 11 deletions
|
@ -118,10 +118,12 @@ int linkObjToBinaryMSVC(llvm::StringRef outputPath, bool useInternalLinker,
|
|||
args.push_back("ws2_32.lib");
|
||||
}
|
||||
|
||||
if (global.params.enableRuntimeCompile) {
|
||||
#if defined(LDC_RUNTIME_COMPILE)
|
||||
if (opts::enableRuntimeCompile) {
|
||||
args.push_back("ldc-jit-rt.lib");
|
||||
args.push_back("ldc-jit.lib");
|
||||
}
|
||||
#endif
|
||||
|
||||
// user libs
|
||||
for (auto libfile : *global.params.libfiles) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue