aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2013-11-23 12:55:07 +0000
committerlloyd <[email protected]>2013-11-23 12:55:07 +0000
commitf583ef72eaa57bc52b5a0bc75bbde4a0a4e25c8b (patch)
treeb210f74db2e8b759b7136b6a9b899be02d8cd456
parentbd1f3b15fd803f13d6a04d008b4ec4304cc3f23f (diff)
Include Perl's build flags. Bug 254
-rw-r--r--src/wrap/perl-xs/Makefile.PL2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrap/perl-xs/Makefile.PL b/src/wrap/perl-xs/Makefile.PL
index 46317e72b..5a3276aec 100644
--- a/src/wrap/perl-xs/Makefile.PL
+++ b/src/wrap/perl-xs/Makefile.PL
@@ -9,7 +9,7 @@ if ( $^O eq 'MSWin32' )
else
{
$cc = 'g++';
- $cflags = '-Wno-write-strings -fexceptions ' . qx( botan-config --cflags );
+ $cflags = $Config::Config{ccflags} . ' -Wno-write-strings -fexceptions ' . qx( botan-config-1.11 --cflags );
$libs = qx( botan-config --libs );
}