Skip to content

Commit 24a206b

Browse files
committed
[Build] Fix exposed suffix, remove unused option.
1 parent 9d5caf6 commit 24a206b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

SConstruct

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ opts.Add(
145145
opts.Add(BoolVariable("generate_template_get_node", "Generate a template version of the Node class's get_node.", True))
146146

147147
opts.Add(BoolVariable("build_library", "Build the godot-cpp library.", True))
148-
opts.Add("build_projects", "List of projects to build (comma-separated list of paths).", "")
149148

150149
opts.Update(env)
151150
Help(opts.GenerateHelpText(env))
@@ -499,7 +498,7 @@ if env["build_library"]:
499498
library = env.StaticLibrary(target=env.File("bin/%s" % library_name), source=sources)
500499
Default(library)
501500

502-
env["SHLIBSUFFIX"] = "{}.{}.{}{}".format(env["platform"], env["target"], arch_suffix, env["SHLIBSUFFIX"])
501+
env["SHLIBSUFFIX"] = ".{}.{}.{}{}".format(env["platform"], env["target"], arch_suffix, env["SHLIBSUFFIX"])
503502
env.Append(CPPPATH=[env.Dir(f) for f in ["gen/include", "include", "godot-headers"]])
504503
env.Append(LIBPATH=[env.Dir("bin")])
505504
env.Append(LIBS=library_name)

0 commit comments

Comments
 (0)