Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 99280f1

Browse files
committed
Use -fPIC
1 parent 8745ac1 commit 99280f1

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
@@ -1005,10 +1005,10 @@ def do_custom_build(self):
10051005
subprocess.check_call(
10061006
['tar zxf {0}'.format(tarball)], shell=True, cwd='build')
10071007
subprocess.check_call(
1008-
['./configure --without-zlib --without-bzip2 --without-png'],
1008+
['CFLAGS=-fPIC ./configure --without-zlib --without-bzip2 --without-png'],
10091009
shell=True, cwd=src_path)
10101010
subprocess.check_call(
1011-
['make'], shell=True, cwd=src_path)
1011+
['CFLAGS=-fPIC make'], shell=True, cwd=src_path)
10121012

10131013

10141014
class FT2Font(SetupPackage):

0 commit comments

Comments
 (0)