コード例 #1
0
ファイル: DarwinSystem.py プロジェクト: jwilk/Pyrex
	def get_libraries(self, options):
		result = UnixSystem.get_libraries(self, options)
		if options:
			for framework in options.frameworks:
				result.extend(["-framework", framework])
		return result
コード例 #2
0
ファイル: DarwinSystem.py プロジェクト: jwilk/Pyrex
	def get_linker_options(self, options):
		result = UnixSystem.get_linker_options(self, options)
		if options:
			for dir in options.framework_path:
				options.append("-F" + dir)
		return result
コード例 #3
0
ファイル: DarwinSystem.py プロジェクト: jwilk/Pyrex
	def c_link_list(self, *args, **kwds):
		name = "MACOSX_DEPLOYMENT_TARGET"
		if not os.environ.get(name):
			os.environ[name] = "10.3"
		UnixSystem.c_link_list(self, *args, **kwds)
コード例 #4
0
 def get_libraries(self, options):
     result = UnixSystem.get_libraries(self, options)
     if options:
         for framework in options.frameworks:
             result.extend(["-framework", framework])
     return result
コード例 #5
0
 def get_linker_options(self, options):
     result = UnixSystem.get_linker_options(self, options)
     if options:
         for dir in options.framework_path:
             options.append("-F" + dir)
     return result
コード例 #6
0
 def c_link_list(self, *args, **kwds):
     name = "MACOSX_DEPLOYMENT_TARGET"
     if not os.environ.get(name):
         os.environ[name] = "10.3"
     UnixSystem.c_link_list(self, *args, **kwds)