Skip to content

Commit a079511

Browse files
committed
fix tests (macOS)
1 parent 3d69de1 commit a079511

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_ctypes/test_dlerror.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def make_empty_lib(self, outdir, so_libname):
137137
srcname = os.path.join(outdir, 'empty.c')
138138
dstname = os.path.join(outdir, so_libname)
139139
create_empty_file(srcname)
140-
args = ['gcc', '-fPIC', '-shared', '-o', dstname, srcname]
140+
args = ['gcc', '-shared', '-o', dstname, srcname]
141141
p = subprocess.run(args, capture_output=True)
142142
p.check_returncode()
143143
return dstname

0 commit comments

Comments
 (0)