rts/package.conf.in: fix UNREG on --with-system-libffi when include-dir is passed...
authorSergei Trofimovich <slyfox@gentoo.org>
Thu, 13 Feb 2014 13:29:14 +0000 (07:29 -0600)
committerAustin Seipp <austin@well-typed.com>
Mon, 17 Feb 2014 07:46:03 +0000 (01:46 -0600)
Issue #8748

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Signed-off-by: Austin Seipp <austin@well-typed.com>
rts/package.conf.in

index 010305f..4c8686f 100644 (file)
@@ -57,9 +57,9 @@ extra-libraries:
 #endif
 
 #ifdef INSTALLING
-include-dirs:           INCLUDE_DIR PAPI_INCLUDE_DIR
+include-dirs:           INCLUDE_DIR PAPI_INCLUDE_DIR FFI_INCLUDE_DIR
 #else /* !INSTALLING */
-include-dirs:           TOP"/rts/dist/build" TOP"/includes" TOP"/includes/dist-derivedconstants/header"
+include-dirs:           TOP"/rts/dist/build" TOP"/includes" TOP"/includes/dist-derivedconstants/header" FFI_INCLUDE_DIR
 #endif
 
 includes:               Stg.h