mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
Merge pull request #1939 from msoeken/dotnetcore-fix
Choose runtime for .NET core DLL.
This commit is contained in:
commit
74db2f2509
|
@ -1890,6 +1890,15 @@ class DotNetCoreDLLComponent(Component):
|
||||||
else:
|
else:
|
||||||
dotnetCmdLine.extend(['Release'])
|
dotnetCmdLine.extend(['Release'])
|
||||||
|
|
||||||
|
if IS_WINDOWS:
|
||||||
|
runtime = "win-" + ("x64" if VS_X64 else "x86")
|
||||||
|
elif IS_LINUX:
|
||||||
|
runtime = "linux-x64" if LINUX_X64 else ""
|
||||||
|
elif IS_OSX:
|
||||||
|
runtime = "osx-x64" if LINUX_X64 else ""
|
||||||
|
if runtime != "":
|
||||||
|
dotnetCmdLine.extend(['-r', runtime])
|
||||||
|
|
||||||
path = os.path.abspath(BUILD_DIR)
|
path = os.path.abspath(BUILD_DIR)
|
||||||
dotnetCmdLine.extend(['-o', path])
|
dotnetCmdLine.extend(['-o', path])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue