From b8faaf456d38d068bbd51e0cf1a749d6715508ff Mon Sep 17 00:00:00 2001 From: Philip Trauner Date: Fri, 8 Apr 2016 14:39:10 +0200 Subject: [PATCH] Link wallaby libs --- Server/Server.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Server/Server.py b/Server/Server.py index bd64db9..cc62c6e 100644 --- a/Server/Server.py +++ b/Server/Server.py @@ -128,9 +128,10 @@ class Compile(Routing.ServerRoute): if not os.path.exists(full_path): os.mkdir(full_path) error = True - command = ["gcc", "-pipe", "-O0", "-lbotball", "-o", "%s" % full_path + "/botball_user_program", path + relpath] + command = ["gcc", "-pipe", "-O0", "-lbotball", "-lwallaby", "-o", "%s" % full_path + "/botball_user_program", path + relpath] if not self.botball_library_avaliable: del command[command.index("-lbotball")] + del command[command.index("-lwallaby")] p = Popen(command, stdout=PIPE, stderr=PIPE) error = False if p.wait() == 0 else True result = ""