diff options
author | Tony Theodore <tonyt@logyst.com> | 2014-11-24 08:03:00 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2014-11-24 08:03:00 (GMT) |
commit | c04f7a8f843b3c4aaa1d22e214152fe84c9a51f5 (patch) | |
tree | b3865dc4d53cbefe05442e11b84d280b435e1c37 | |
parent | df0979e31943ef520fbfacdbbed1079f2126750a (diff) | |
download | mxe-c04f7a8f843b3c4aaa1d22e214152fe84c9a51f5.zip mxe-c04f7a8f843b3c4aaa1d22e214152fe84c9a51f5.tar.gz mxe-c04f7a8f843b3c4aaa1d22e214152fe84c9a51f5.tar.bz2 |
ftgl: workaround for case-insensitive filesystems
-rw-r--r-- | src/ftgl.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ftgl.mk b/src/ftgl.mk index e31b198..7f3907f 100644 --- a/src/ftgl.mk +++ b/src/ftgl.mk @@ -32,8 +32,13 @@ define $(PKG)_BUILD $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib/pkgconfig' $(INSTALL) -m644 '$(1)/ftgl.pc' '$(PREFIX)/$(TARGET)/lib/pkgconfig/' + # On case-insensitive filesystems, freetype2/ftglyph.h conflicts + # with FTGL/FTGlyph.h. Call pkg-config separately as a workaround + # to re-order include paths. + '$(TARGET)-gcc' \ -W -Wall -Werror -ansi \ '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-$(PKG).exe' \ + `'$(TARGET)-pkg-config' freetype2 --cflags --libs` \ `'$(TARGET)-pkg-config' ftgl --cflags --libs` endef |