-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Use a specific version of Freetype for testing #5306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
88a664e
733cda9
56c686e
924950e
bab2d6a
7935fa1
ca61716
662ae7d
d102d39
c2af9c6
5c6173a
6a9f3c4
85a6e78
660adc6
13be4e7
420cd8e
31cb9b3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -996,13 +996,16 @@ def do_custom_build(self): | |
raise IOError("{0} does not match expected hash.".format(tarball)) | ||
|
||
print("Building {0}".format(tarball)) | ||
cflags = 'CFLAGS="{0} -fPIC" '.format(os.environ.get('CFLAGS', '')) | ||
|
||
subprocess.check_call( | ||
['tar zxf {0}'.format(tarball)], shell=True, cwd='build') | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not sure why you need to bother with There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Without There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think that's true. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah. It seems the "list of strings" and "shell=True" are mutually exclusive. I'll update this to not use shell. |
||
subprocess.check_call( | ||
['CFLAGS=-fPIC ./configure --without-zlib --without-bzip2 --without-png'], | ||
[cflags + | ||
'./configure --without-zlib --without-bzip2 --without-png'], | ||
shell=True, cwd=src_path) | ||
subprocess.check_call( | ||
['CFLAGS=-fPIC make'], shell=True, cwd=src_path) | ||
[cflags + 'make'], shell=True, cwd=src_path) | ||
|
||
|
||
class FT2Font(SetupPackage): | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we do a hash check here to make sure that we get an uncorrupted file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea.