Skip to content

Commit 8ec57a4

Browse files
committed
Handle unresolved relocations at link time
1 parent a89f804 commit 8ec57a4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

setup.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,13 @@ def run(self):
189189
'-fno-strict-aliasing',
190190
'-Wno-error=declaration-after-statement',
191191
'-Werror=implicit-function-declaration',
192+
'-fvisibility=hidden',
193+
'-fno-common',
194+
]
195+
)
196+
ext.extra_link_args.extend(
197+
[
198+
'-Wl,-Bsymbolic',
192199
]
193200
)
194201

0 commit comments

Comments
 (0)