mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-03 00:20:40 +03:00
opts::isRuntimeCompileEnabled() helper function
This commit is contained in:
parent
ac763b0520
commit
ccc87bdb9d
5 changed files with 9 additions and 12 deletions
|
@ -118,12 +118,10 @@ int linkObjToBinaryMSVC(llvm::StringRef outputPath, bool useInternalLinker,
|
|||
args.push_back("ws2_32.lib");
|
||||
}
|
||||
|
||||
#if defined(LDC_RUNTIME_COMPILE)
|
||||
if (opts::enableRuntimeCompile) {
|
||||
if (opts::isRuntimeCompileEnabled()) {
|
||||
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