File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -996,13 +996,16 @@ def do_custom_build(self):
996996 raise IOError ("{0} does not match expected hash." .format (tarball ))
997997
998998 print ("Building {0}" .format (tarball ))
999+ cflags = 'CFLAGS="{0} -fPIC" ' .format (os .environ .get ('CFLAGS' , '' ))
1000+
9991001 subprocess .check_call (
10001002 ['tar zxf {0}' .format (tarball )], shell = True , cwd = 'build' )
10011003 subprocess .check_call (
1002- ['CFLAGS=-fPIC ./configure --without-zlib --without-bzip2 --without-png' ],
1004+ [cflags +
1005+ './configure --without-zlib --without-bzip2 --without-png' ],
10031006 shell = True , cwd = src_path )
10041007 subprocess .check_call (
1005- ['CFLAGS=-fPIC make' ], shell = True , cwd = src_path )
1008+ [cflags + ' make' ], shell = True , cwd = src_path )
10061009
10071010
10081011class FT2Font (SetupPackage ):
You can’t perform that action at this time.
0 commit comments