Posted tagged ‘xs’

Module::Build with XS

September 30, 2008

This is mainly for my own future benefit. It has just taken me ages to discover how to build Perl modules using Module::Build when parts of the module are done with XS. The Build.PL needs to contain: extra_compiler_flags => [‘-Wall’], extra_linker_flags => [‘-lfoo’], include_dirs => [‘.’], where foo is whatever library you need to link […]