I am building a C extension that uses the Mac OSX Accelerate Framework. When I compile normal C code I include the header
#include <Accelerate/Accelerate.h>
and compile with
llvm-gcc -framework Accelerate code.c -o code
The flag takes care of finding the right libraries.
Can I do something similar for a ruby C extension? I assume I need to include the framework in extconf.rb
but I don't know how.