Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d102d39 commit c2af9c6Copy full SHA for c2af9c6
1 file changed
setupext.py
@@ -996,13 +996,16 @@ def do_custom_build(self):
996
raise IOError("{0} does not match expected hash.".format(tarball))
997
998
print("Building {0}".format(tarball))
999
+ cflags = 'CFLAGS="{0} -fPIC" '.format(os.environ.get('CFLAGS', ''))
1000
+
1001
subprocess.check_call(
1002
['tar zxf {0}'.format(tarball)], shell=True, cwd='build')
1003
- ['CFLAGS=-fPIC ./configure --without-zlib --without-bzip2 --without-png'],
1004
+ [cflags +
1005
+ './configure --without-zlib --without-bzip2 --without-png'],
1006
shell=True, cwd=src_path)
1007
- ['CFLAGS=-fPIC make'], shell=True, cwd=src_path)
1008
+ [cflags + 'make'], shell=True, cwd=src_path)
1009
1010
1011
class FT2Font(SetupPackage):
0 commit comments