mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
freetype: flatten include to fix several builds
I just wonder why freetype-2.5 needed to move headers around.
This commit is contained in:
parent
4b263946dd
commit
73ad32e1d9
1 changed files with 5 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
# FreeType supports sub-pixel rendering. This is patented by
|
||||
# Microsoft, so it is disabled by default. This option allows it to
|
||||
# be enabled. See http://www.freetype.org/patents.html.
|
||||
, glib/*passthru only*/
|
||||
, useEncumberedCode ? true
|
||||
}:
|
||||
|
||||
|
@ -46,7 +47,10 @@ stdenv.mkDerivation rec {
|
|||
|
||||
doCheck = true;
|
||||
|
||||
postInstall = ''ln -s freetype2 "$out"/include/freetype''; # compat hack
|
||||
# compat hacks
|
||||
postInstall = glib.flattenInclude + ''
|
||||
ln -s . "$out"/include/freetype
|
||||
'';
|
||||
|
||||
crossAttrs = {
|
||||
# Somehow it calls the unwrapped gcc, "i686-pc-linux-gnu-gcc", instead
|
||||
|
|
Loading…
Reference in a new issue