-
Notifications
You must be signed in to change notification settings - Fork 51
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
Usr/local/include not included in build includes #19
Comments
This happens because when the skia build uses the system version of harfbuzz, it hardcodes the location /usr/include/harfbuzz: skia/third_party/harfbuzz/BUILD.gn Line 15 in bbcd043
Hardcoding /usr/local/include/harfbuzz would not be an improvement. This location needs to be configurable. Even better, the correct location could be determined automatically using A similar problem exists for skia when using system freetype2:
for a similar reason: skia/third_party/freetype2/BUILD.gn Line 18 in bbcd043
which could be fixed similarly by using |
I couldn't find an upstream issue for this so I've now filed https://issues.skia.org/issues/372508426. |
@ryandesign I'd highly recommend you to avoid creating new issues on Skia if you are not testing their latest version in |
Since the hardcoded /usr/include paths are still present in the latest version of the code in their main branch, I felt sufficiently confident in filing the issue with them even without attempting to build their version. |
harfbuzz installs by default to
/usr/local/include/harfbuzz
. I had to manually copy harfbuzz source to/usr/include/harfbuzz
to get skia to build.The text was updated successfully, but these errors were encountered: