Fixes OSX.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3280 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
		| @@ -37,11 +37,11 @@ if sys.platform == 'win32': | ||||
| 	env.Append(LINKFLAGS=['/RELEASE', '/OPT:REF', '/OPT:ICF']) | ||||
| elif sys.platform == 'darwin': | ||||
| 	env.Append(LIBS=['v8_base', 'v8_libbase', 'v8_libplatform', 'v8_nosnapshot', 'icui18n', 'icuuc', 'icudata', 'pthread', 'uv']) | ||||
| 	env.Append(CXXFLAGS=['--std=c++11', '-g', '-Wall', '-stdlib=libstdc++']) | ||||
| 	env.Append(CXXFLAGS=['--std=c++11', '-g', '-Wall', '-stdlib=libc++']) | ||||
| 	env.Append(CFLAGS=['-g', '-Wall']) | ||||
| 	env.Append(LINKFLAGS=['-g', '-stdlib=libstdc++']) | ||||
| 	env.Append(LINKFLAGS=['-g', '-stdlib=libc++']) | ||||
| 	env.Append(LIBPATH=[ | ||||
| 		os.path.join(v8, 'xcodebuild/Release'), | ||||
| 		os.path.join(v8, 'out/native'), | ||||
| 		os.path.join(uv, 'build/Release'), | ||||
| 	]) | ||||
| else: | ||||
|   | ||||
| @@ -125,8 +125,7 @@ def updateV8(): | ||||
| 	if sys.platform == 'linux2': | ||||
| 		run(['make', '-j' + str(cores), 'native'], cwd=kV8Work) | ||||
| 	elif sys.platform == 'darwin': | ||||
| 		run(['build/gyp_v8', '-Dtarget_arch=x64'], cwd=kV8Work) | ||||
| 		run(['xcodebuild', '-project', 'build/all.xcodeproj', '-configuration', 'Release'], cwd=kV8Work) | ||||
| 		run(['make', '-j' + str(cores), 'native'], cwd=kV8Work) | ||||
| 	elif sys.platform == 'win32': | ||||
| 		run(['python', 'build\\gyp_v8', '-Dtarget_arch=x64'], cwd=kV8Work, env=win32Env) | ||||
| 		run(['devenv.com', '/Build', 'Release', 'build\\All.sln'], cwd=kV8Work) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user