From 2103dbf4d1e6be2ff950e93725edef9881f13306 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Picca=20Fr=C3=A9d=C3=A9ric-Emmanuel?= Date: Thu, 21 Feb 2019 11:04:02 +0100 Subject: fix FTBFS with numpy 0.16 Gbp-Pq: Name 0004-fix-FTBFS-with-numpy-0.16.patch --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 40b2e8e..9f6ae13 100644 --- a/setup.py +++ b/setup.py @@ -614,8 +614,8 @@ class BuildExt(build_ext): extern = 'extern "C" ' if ext.language == 'c++' else '' return_type = 'void' if sys.version_info[0] <= 2 else 'PyObject*' - ext.extra_compile_args.append( - '''-fvisibility=hidden -D'PyMODINIT_FUNC=%s__attribute__((visibility("default"))) %s ' ''' % (extern, return_type)) + # ext.extra_compile_args.append( + # '''-fvisibility=hidden -D'PyMODINIT_FUNC=%s__attribute__((visibility("default"))) %s ' ''' % (extern, return_type)) def is_debug_interpreter(self): """ -- cgit v1.2.1