--- bindings/python/setup.py.orig 2016-04-10 17:46:51.000000000 -0700
+++ bindings/python/setup.py 2016-04-15 13:53:34.000000000 -0700
if platform.system() != 'Darwin': return []
- if a == 'Power Macintosh': a = 'ppc'
+ a = '__MP_BUILD_ARCH__'
# on mavericks, clang will fail when unknown arguments are
# passed in. python distutils will pass in arguments it doesn't
- return ['-Wno-error=unused-command-line-argument-hard-error-in-future']
with open('compile_flags') as _file:
include_dirs = flags.include_dirs,
library_dirs = flags.library_dirs,
- extra_link_args = extra_link + arch(),
- extra_compile_args = extra_compile + arch() + target_specific(),
+ extra_link_args = extra_link,
+ extra_compile_args = extra_compile + target_specific(),
libraries = ['torrent-rasterbar'] + flags.libraries)]
setup(name = 'python-libtorrent',