Switch to the newer Roslyn compiler on Linux/macOS.
This commit is contained in:
committed by
Oliver Brakmann
parent
5b00586de2
commit
d53338ca5e
@@ -30,7 +30,7 @@ fi
|
||||
function makelauncher()
|
||||
{
|
||||
sed "s|DISPLAY_NAME|$2|" WindowsLauncher.cs.in | sed "s|MOD_ID|$3|" | sed "s|FAQ_URL|${FAQ_URL}|" > WindowsLauncher.cs
|
||||
mcs WindowsLauncher.cs -warn:4 -codepage:utf8 -warnaserror -out:"$1" -t:winexe ${LAUNCHER_LIBS} -win32icon:"$4"
|
||||
csc WindowsLauncher.cs -warn:4 -warnaserror -out:"$1" -t:winexe ${LAUNCHER_LIBS} -win32icon:"$4"
|
||||
rm WindowsLauncher.cs
|
||||
mono "${SRCDIR}/fixheader.exe" "$1" > /dev/null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user