df25dd92de
eg on armv7: [ 1 of 21] Compiling Data.Functor.Product ( Data/Functor/Product.hs, dist/build/Data/Functor/Product.p_o ) /tmp/ghc1692_0/ghc1692_0.c:4:17: fatal error: ffi.h: No such file or directory
7 lines
349 B
Diff
7 lines
349 B
Diff
diff -u ghc-7.4.1/ghc/ghc.wrapper\~ ghc-7.4.1/ghc/ghc.wrapper
|
|
--- ghc-7.4.1/ghc/ghc.wrapper~ 2012-02-02 03:10:32.000000000 +0900
|
|
+++ ghc-7.4.1/ghc/ghc.wrapper 2012-05-02 19:39:05.503872527 +0900
|
|
@@ -1 +1 @@
|
|
-exec "$executablename" -B"$topdir" ${1+"$@"}
|
|
+exec "$executablename" -B"$topdir" -optc-I$(pkg-config --variable=includedir libffi) ${1+"$@"}
|