apkbuild-cpan: XS modules using Module::Build now obtain Perl CFLAGS properly.

This commit is contained in:
Kiyoshi Aman 2011-06-28 08:11:08 -04:00
parent f5a3a48da0
commit 014544bc68
1 changed files with 1 additions and 0 deletions

View File

@ -174,6 +174,7 @@ EOF
$build_func = <<'EOF';
build() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
./Build && ./Build test
}
EOF