Fix build on Linux
This commit is contained in:
@@ -71,6 +71,10 @@ namespace Flax.Build
|
||||
{
|
||||
options.CompileEnv.PreprocessorDefinitions.Add("COMPILE_WITHOUT_CSHARP");
|
||||
}
|
||||
else if (!EngineConfiguration.WithDotNet(options))
|
||||
{
|
||||
options.CompileEnv.PreprocessorDefinitions.Add("COMPILE_WITH_MONO");
|
||||
}
|
||||
if (EngineConfiguration.WithLargeWorlds(options))
|
||||
{
|
||||
options.CompileEnv.PreprocessorDefinitions.Add("USE_LARGE_WORLDS");
|
||||
|
||||
@@ -95,6 +95,7 @@ namespace Flax.Build.Platforms
|
||||
args.Add("-pthread");
|
||||
args.Add("-ldl");
|
||||
args.Add("-lrt");
|
||||
args.Add("-lz");
|
||||
|
||||
// Link X11
|
||||
args.Add("-L/usr/X11R6/lib");
|
||||
|
||||
Reference in New Issue
Block a user