summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2010-03-29 13:57:34 +0000
committerSimon Marlow <marlowsd@gmail.com>2010-03-29 13:57:34 +0000
commit569880390c3d9c4d1c5ae748471f37fe5ff8e4db (patch)
treeb82649fc2e4b6bf166a83fc4777fdce2d27ee958
parentf125eb7e4b8079e79f41f55d60e5b4bf138284ba (diff)
downloadhaskell-569880390c3d9c4d1c5ae748471f37fe5ff8e4db.tar.gz
libffi: install 'ffitarget.h' header as sole 'ffi.h' is unusable
Submitted by: Sergei Trofimovich <slyfox@community.haskell.org> Re-recorded against HEAD.
-rw-r--r--libffi/ghc.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/libffi/ghc.mk b/libffi/ghc.mk
index 17a86eeca2..440b1ef893 100644
--- a/libffi/ghc.mk
+++ b/libffi/ghc.mk
@@ -66,7 +66,8 @@ endif
BINDIST_STAMPS = libffi/stamp.ffi.build libfii/stamp.ffi.configure
-INSTALL_HEADERS += libffi/dist-install/build/ffi.h
+INSTALL_HEADERS += libffi/dist-install/build/ffi.h \
+ libffi/dist-install/build/ffitarget.h
libffi_STATIC_LIB = libffi/dist-install/build/libffi.a
INSTALL_LIBS += libffi/dist-install/build/libHSffi.a \
libffi/dist-install/build/libHSffi_p.a \
@@ -153,6 +154,8 @@ $(libffi_STAMP_CONFIGURE):
libffi/dist-install/build/ffi.h: $(libffi_STAMP_CONFIGURE) | $$(dir $$@)/.
"$(CP)" libffi/build/include/ffi.h $@
+libffi/dist-install/build/ffitarget.h: $(libffi_STAMP_CONFIGURE) | $$(dir $$@)/.
+ "$(CP)" libffi/build/include/ffitarget.h $@
$(libffi_STAMP_BUILD): $(libffi_STAMP_CONFIGURE) | libffi/dist-install/build/.
$(MAKE) -C libffi/build MAKEFLAGS=