We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a89f804 commit ce8e4e7Copy full SHA for ce8e4e7
1 file changed
setup.py
@@ -189,8 +189,16 @@ def run(self):
189
'-fno-strict-aliasing',
190
'-Wno-error=declaration-after-statement',
191
'-Werror=implicit-function-declaration',
192
+ '-fvisibility=hidden',
193
+ '-fno-common',
194
]
195
)
196
+ if sys.platform == 'linux':
197
+ ext.extra_link_args.extend(
198
+ [
199
+ '-Wl,-Bsymbolic',
200
+ ]
201
+ )
202
203
if self.debug:
204
ext.define_macros.append(('PYXMLSEC_ENABLE_DEBUG', '1'))
0 commit comments