Prechádzať zdrojové kódy

Change libpath in binding_to_external_libraries

hpca 1 rok pred
rodič
commit
824d501ce4

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

@@ -172,7 +172,7 @@ environment's paths:
     # 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.
-    env.Append(LIBPATH=['libpath'])
+    env.Append(LIBPATH=[Dir('libpath').abspath])
 
     # Check with the documentation of the external library to see which library
     # files should be included/linked.