Browse Source

Update contributing/development/core_and_modules/binding_to_external_libraries.rst

Co-authored-by: Ricardo Subtil <[email protected]>
Hugarty Pedro 1 year ago
parent
commit
25c77ad655

+ 3 - 3
contributing/development/core_and_modules/binding_to_external_libraries.rst

@@ -169,9 +169,9 @@ environment's paths:
     # LIBPATH and LIBS need to be set on the real "env" (not the clone)
     # LIBPATH and LIBS need to be set on the real "env" (not the clone)
     # to link the specified libraries to the Godot executable.
     # to link the specified libraries to the Godot executable.
 
 
-    # This is a path relative to /modules/tts/ where your .a libraries reside.
-    # If you are compiling the module externally (not in the godot source tree),
-    # these will need to be full paths.
+    # This is an absolute path where your .a libraries reside.
+    # If using a relative path, you must convert it to a
+    # full path using an utility function, such as `Dir('...').abspath`.
     env.Append(LIBPATH=[Dir('libpath').abspath])
     env.Append(LIBPATH=[Dir('libpath').abspath])
 
 
     # Check with the documentation of the external library to see which library
     # Check with the documentation of the external library to see which library