mirror of
https://github.com/godotengine/godot-mono-builds.git
synced 2026-02-25 06:33:42 +03:00
Fix osxcross command wrapper script
This commit is contained in:
@@ -168,7 +168,11 @@ def create_osxcross_wrapper(opts: RuntimeOpts, product: str, target: str, toolch
|
|||||||
# we want the resulting configuration to be independent from out python scripts.
|
# we want the resulting configuration to be independent from out python scripts.
|
||||||
|
|
||||||
wrapper_src = """#!/bin/bash
|
wrapper_src = """#!/bin/bash
|
||||||
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:%s" $1 "$@"
|
OSXCROSS_COMMAND=$1;
|
||||||
|
shift;
|
||||||
|
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:%s";
|
||||||
|
${OSXCROSS_COMMAND} "$@";
|
||||||
|
exit $?;
|
||||||
""" % os.path.join(toolchain_path, 'lib')
|
""" % os.path.join(toolchain_path, 'lib')
|
||||||
|
|
||||||
build_dir = os.path.join(opts.configure_dir, '%s-%s-%s' % (product, target, opts.configuration))
|
build_dir = os.path.join(opts.configure_dir, '%s-%s-%s' % (product, target, opts.configuration))
|
||||||
|
|||||||
Reference in New Issue
Block a user