mirror of
https://github.com/RPCSX/xed.git
synced 2026-01-31 01:05:17 +01:00
xed_mbuild.py: add first_lib and last_lib to default env
Change-Id: I0ad8e46c4d70ec7265cad5bacbb29773d9cf18fc (cherry picked from commit 81fee8c07b907229ed79ece993e450c265446295)
This commit is contained in:
@@ -583,7 +583,9 @@ def mkenv():
|
||||
copy_libc=False,
|
||||
pin_crt='',
|
||||
static_stripped=False,
|
||||
set_copyright=False)
|
||||
set_copyright=False,
|
||||
first_lib=None,
|
||||
last_lib=None)
|
||||
|
||||
env['xed_defaults'] = standard_defaults
|
||||
env.set_defaults(env['xed_defaults'])
|
||||
@@ -1451,11 +1453,11 @@ def build_libxed(env,work_queue):
|
||||
lib_objs = []
|
||||
# first_lib and last_lib are for supporting compilations using
|
||||
# custom C runtimes.
|
||||
if 'first_lib' in env:
|
||||
if env['first_lib']:
|
||||
lib_objs.append(env['first_lib'])
|
||||
lib_objs += lib_env.compile( lib_dag, generated_library_sources)
|
||||
lib_objs += lib_env.compile( lib_dag, nongen_lib_sources)
|
||||
if 'last_lib' in env:
|
||||
if env['last_lib']:
|
||||
lib_objs.append(env['last_lib'])
|
||||
|
||||
if lib_env['shared']:
|
||||
|
||||
Reference in New Issue
Block a user