Skip to content

Commit 3fb6828

Browse files
authored
DBG: Print ELF headers of extension on Linux.
1 parent 9d45f13 commit 3fb6828

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

distutils/tests/test_build_ext.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@ def _test_xx(copy_so):
166166
["readelf", "-d", xx.__file__], universal_newlines=True
167167
)
168168
if not copy_so:
169+
import pprint
170+
pprint.pprint(so_headers)
169171
# Linked against a library in /usr/lib{,64}
170172
assert 'RPATH' not in so_headers and 'RUNPATH' not in so_headers
171173
else:

0 commit comments

Comments
 (0)