Skip to content

Commit b884bfe

Browse files
authored
Merge pull request #8620 from hugarty/patch-2
Change libpath in binding_to_external_libraries.rst
2 parents d2171a9 + 25c77ad commit b884bfe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

contributing/development/core_and_modules/binding_to_external_libraries.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,10 @@ environment's paths:
168168
# LIBPATH and LIBS need to be set on the real "env" (not the clone)
169169
# to link the specified libraries to the Godot executable.
170170
171-
# This is a path relative to /modules/tts/ where your .a libraries reside.
172-
# If you are compiling the module externally (not in the godot source tree),
173-
# these will need to be full paths.
174-
env.Append(LIBPATH=['libpath'])
171+
# This is an absolute path where your .a libraries reside.
172+
# If using a relative path, you must convert it to a
173+
# full path using an utility function, such as `Dir('...').abspath`.
174+
env.Append(LIBPATH=[Dir('libpath').abspath])
175175
176176
# Check with the documentation of the external library to see which library
177177
# files should be included/linked.

0 commit comments

Comments
 (0)