generated from StudioCherno/WalnutAppTemplate
-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Fixes the linker error on Linux.
diff --git a/App-Server/Build-App-Server-Headless.lua b/App-Server/Build-App-Server-Headless.lua
index e5d7b20..2e78bce 100644
--- a/App-Server/Build-App-Server-Headless.lua
+++ b/App-Server/Build-App-Server-Headless.lua
@@ -47,7 +47,7 @@ project "App-Server-Headless"
defines { "WL_PLATFORM_WINDOWS" }
filter "system:linux"
- libdirs { "../Walnut/Walnut-Networking/vendor/GameNetworkingSockets/bin/Linux" }
+ libdirs { "../Walnut/Walnut-Modules/Walnut-Networking/vendor/GameNetworkingSockets/bin/Linux" }
links { "GameNetworkingSockets" }
defines { "WL_HEADLESS" }
By default premake5 is not executable.
diff --git a/scripts/Setup.sh b/scripts/Setup.sh
old mode 100644
new mode 100755
index 5a037c7..25362c4
--- a/scripts/Setup.sh
+++ b/scripts/Setup.sh
@@ -1,5 +1,6 @@
#!/bin/bash
pushd ..
+chmox +x Walnut/vendor/bin/premake/Linux/premake5
Walnut/vendor/bin/premake/Linux/premake5 --cc=clang --file=Build-Headless.lua gmake2
popd
TheRouletteBoi
Metadata
Metadata
Assignees
Labels
No labels