We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efe1ac1 commit 6d267c2Copy full SHA for 6d267c2
setup.py
@@ -53,6 +53,8 @@ def build_extensions(self):
53
opts = self.c_opts.get(ct, [])
54
if ct == 'unix':
55
opts.append(cpp_flag(self.compiler))
56
+ if has_flag(self.compiler, '-fvisibility=hidden'):
57
+ opts.append('-fvisibility=hidden')
58
for ext in self.extensions:
59
ext.extra_compile_args = opts
60
build_ext.build_extensions(self)
0 commit comments