Skip to content
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

freetype-boostrap 2.8 failed to build (undefined "HB_SCRIPT_ADLAM"/"HB_SCRIPT_OSAGE") #1865

Closed
kmatheussen opened this issue Aug 1, 2017 · 5 comments

Comments

@kmatheussen
Copy link

Here's the log:
https://gist.github.com/kmatheussen/56a72cc013fd2161484268ce391831dc

Here's my (very) simple workaround (which is obviously not the right solution, but it compiles):

diff --git a/src/freetype.mk b/src/freetype.mk
index 81a614b..29fd004 100644
--- a/src/freetype.mk
+++ b/src/freetype.mk
@@ -18,7 +18,7 @@ define $(PKG)_UPDATE
 endef
 
 define $(PKG)_BUILD_COMMON
-    cd '$(1)' && GNUMAKE=$(MAKE) ./configure \
+    cd '$(1)' && GNUMAKE=$(MAKE) CFLAGS="-DHB_SCRIPT_ADLAM=1 -DHB_SCRIPT_OSAGE" ./configure \
         $(MXE_CONFIGURE_OPTS) \
         LIBPNG_CFLAGS="`$(TARGET)-pkg-config libpng --cflags`" \
         LIBPNG_LDFLAGS="`$(TARGET)-pkg-config libpng --libs`" \
@kmatheussen
Copy link
Author

Oh, and I also googled the problem, but it seems like no one else has had this problem.

@tonytheodore
Copy link
Member

Looks like #1866 will fix it.

@kmatheussen
Copy link
Author

Thank you. Haven't tried, but I guess that fixes it.

@TobiX
Copy link
Contributor

TobiX commented Aug 2, 2017

Yeah, that log looks similar to the problem I was having 👍

@kmatheussen
Copy link
Author

kmatheussen commented Aug 2, 2017

Yes, I can confirm that #1866 fixed compilation. (I recompiled everything in a desperate attempt #1868, but it didn't help.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants