summaryrefslogtreecommitdiffstats
path: root/tools/bootstrap/ghc/ghc-wrapper-libffi-include.patch
blob: 48870ec89c6da12e34ba8691a2b0f48f88640de3 (plain)
1
2
3
4
5
6
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+"$@"}