From: Daniel R. <da...@ph...> - 2008-08-11 00:31:36
|
Greetings, Here is a patch to add the three configure options: --with-ffi-sources --with-ffi --with-dynamic-haskell --with-ffi-sources lets you specify the location of your libffi source directory. --with-ffi lets you specify the prefix into which libffi is installed. --with-dynamic-haskell lets you specify the HocBuildDylibs flag I saw in a few places in the make file. Right now building with the system libffi is broken for reasons I don't quite understand. Partially, it's because the static objects do not play nice with a dynamically linked libffi. The defaults will find libffi-src and failing that, look for a system libffi. Unfortunately, building with HocBuildDylibs /also/ doesn't work. I'm not sure why either. I just saw that someone putting the flag there in the makefile, so I exposed it to ./configure Having --with-ffi-sources is quite useful, and hopefully, having the two build options available in the configure script will encourage me (or someone else) to fix them. -- Daniel |