Fixes linux.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3416 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2018-01-21 01:23:37 +00:00
parent 906eeb6b94
commit 7753c4567d

View File

@ -43,15 +43,26 @@ if raspi:
os.path.join(v8, 'out', 'arm.release', 'obj.target', 'third_party', 'icu', 'libicuuc.a'), os.path.join(v8, 'out', 'arm.release', 'obj.target', 'third_party', 'icu', 'libicuuc.a'),
]) ])
else: else:
env.Append(LIBPATH = [
os.path.join(v8, 'out', 'obj'),
os.path.join(v8, 'out', 'obj', 'third_party', 'icu'),
])
if sys.platform == 'win32':
env.Append(LIBS = [ env.Append(LIBS = [
os.path.join(v8, 'out', 'obj', 'v8_libplatform'), 'v8_base_0',
os.path.join(v8, 'out', 'obj', 'v8_base_0'), 'v8_base_1',
os.path.join(v8, 'out', 'obj', 'v8_base_1'), ])
os.path.join(v8, 'out', 'obj', 'v8_libbase'), else:
os.path.join(v8, 'out', 'obj', 'v8_libsampler'), env.Append(LIBS = [
os.path.join(v8, 'out', 'obj', 'v8_snapshot'), 'v8_base',
os.path.join(v8, 'out', 'obj', 'third_party', 'icu', 'icui18n'), ])
os.path.join(v8, 'out', 'obj', 'third_party', 'icu', 'icuuc'), env.Append(LIBS = [
'v8_libplatform',
'v8_libbase',
'v8_libsampler',
'v8_snapshot',
'icui18n',
'icuuc',
]) ])
if sys.platform == 'win32': if sys.platform == 'win32':