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 = [
'v8_base_0',
'v8_base_1',
])
else:
env.Append(LIBS = [
'v8_base',
])
env.Append(LIBS = [ env.Append(LIBS = [
os.path.join(v8, 'out', 'obj', 'v8_libplatform'), 'v8_libplatform',
os.path.join(v8, 'out', 'obj', 'v8_base_0'), 'v8_libbase',
os.path.join(v8, 'out', 'obj', 'v8_base_1'), 'v8_libsampler',
os.path.join(v8, 'out', 'obj', 'v8_libbase'), 'v8_snapshot',
os.path.join(v8, 'out', 'obj', 'v8_libsampler'), 'icui18n',
os.path.join(v8, 'out', 'obj', 'v8_snapshot'), 'icuuc',
os.path.join(v8, 'out', 'obj', 'third_party', 'icu', 'icui18n'),
os.path.join(v8, 'out', 'obj', 'third_party', 'icu', 'icuuc'),
]) ])
if sys.platform == 'win32': if sys.platform == 'win32':