We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c943beb commit b2df774Copy full SHA for b2df774
tools/godotcpp.py
@@ -574,6 +574,12 @@ def _godot_cpp(env):
574
default_args += ["compiledb"]
575
576
env.Default(*default_args)
577
+ else:
578
+ # When not building the library, allow it to be found in other library
579
+ # paths on the system. It may have been built previously, so still add
580
+ # bin/ to the search path.
581
+ env.AppendUnique(LIBPATH=[env.Dir("bin/")])
582
+ env.AppendUnique(LIBS=[library_name])
583
584
env.AppendUnique(LIBS=[env.File("bin/%s" % library_name)])
585
return library
0 commit comments