mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2025-12-21 00:38:37 +00:00
Fix compilation with Mono master
Bugs, bugs everywhere! https://bugzilla.xamarin.com/show_bug.cgi?id=42606
This commit is contained in:
@@ -115,6 +115,10 @@
|
||||
copy "$(TargetDir)$(TargetName).exe" "$(SolutionDir)out\ASF-ConfigGenerator.exe"
|
||||
</PostBuildEvent>
|
||||
<PostBuildEvent Condition=" '$(OS)' == 'Unix' AND '$(ConfigurationName)' == 'Release' ">
|
||||
if [[ -f "$(SolutionDir)/mono_envsetup.sh" ]]; then
|
||||
source "$(SolutionDir)/mono_envsetup.sh"
|
||||
fi
|
||||
|
||||
mono --llvm --server -O=all "$(SolutionDir)tools/ILRepack/ILRepack.exe" /ndebug /internalize /parallel /targetplatform:v4 /wildcards /out:"$(SolutionDir)out/ASF-ConfigGenerator.exe" "$(TargetDir)$(TargetName).exe" "$(TargetDir)*.dll"
|
||||
rm "$(SolutionDir)out/ASF-ConfigGenerator.exe.config"
|
||||
</PostBuildEvent>
|
||||
|
||||
Reference in New Issue
Block a user