diff options
Diffstat (limited to 'perl/Makefile.PL.in')
-rw-r--r-- | perl/Makefile.PL.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/Makefile.PL.in b/perl/Makefile.PL.in index e6e3d72..77b4a0e 100644 --- a/perl/Makefile.PL.in +++ b/perl/Makefile.PL.in @@ -15,6 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +use Config; use ExtUtils::MakeMaker; WriteMakefile ( @@ -26,5 +27,5 @@ WriteMakefile ( LIBS => '-L@top_builddir@/lib/.libs -lhivex', INC => '-I@top_builddir@/lib -I@top_srcdir@/lib', TYPEMAPS => [ '@srcdir@/typemap' ], - CCFLAGS => '@CFLAGS@', + CCFLAGS => $Config{ccflags} . ' @CFLAGS@', ); |