8000 Use -fPIC · matplotlib/matplotlib@bab2d6a · GitHub
[go: up one dir, main page]

Skip to content

Commit bab2d6a

Browse files
committed
Use -fPIC
1 parent 924950e commit bab2d6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setupext.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -980,10 +980,10 @@ def do_custom_build(self):
980980
subprocess.check_call(
981981
['tar zxf {0}'.format(tarball)], shell=True, cwd='build')
982982
subprocess.check_call(
983-
['./configure --without-zlib --without-bzip2 --without-png'],
983+
['CFLAGS=-fPIC ./configure --without-zlib --without-bzip2 --without-png'],
984984
shell=True, cwd=src_path)
985985
subprocess.check_call(
986-
['make'], shell=True, cwd=src_path)
986+
['CFLAGS=-fPIC make'], shell=True, cwd=src_path)
987987

988988

989989
class FT2Font(SetupPackage):

0 commit comments

Comments
 (0)
0