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 b1c921a commit 0ce7fbaCopy full SHA for 0ce7fba
setupext.py
@@ -1021,13 +1021,16 @@ def do_custom_build(self):
1021
raise IOError("{0} does not match expected hash.".format(tarball))
1022
1023
print("Building {0}".format(tarball))
1024
+ cflags = 'CFLAGS="{0} -fPIC" '.format(os.environ.get('CFLAGS', ''))
1025
+
1026
subprocess.check_call(
1027
['tar zxf {0}'.format(tarball)], shell=True, cwd='build')
1028
- ['CFLAGS=-fPIC ./configure --without-zlib --without-bzip2 --without-png'],
1029
+ [cflags +
1030
+ './configure --without-zlib --without-bzip2 --without-png'],
1031
shell=True, cwd=src_path)
1032
- ['CFLAGS=-fPIC make'], shell=True, cwd=src_path)
1033
+ [cflags + 'make'], shell=True, cwd=src_path)
1034
1035
1036
class FT2Font(SetupPackage):
0 commit comments