apkbuild-cpan: XS modules using Module::Build now obtain Perl CFLAGS properly.
This commit is contained in:
parent
f5a3a48da0
commit
014544bc68
|
@ -174,6 +174,7 @@ EOF
|
|||
$build_func = <<'EOF';
|
||||
build() {
|
||||
cd "$_builddir"
|
||||
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
|
||||
./Build && ./Build test
|
||||
}
|
||||
EOF
|
||||
|
|
Loading…
Reference in New Issue