Subject: | Setting CFLAGS and LDFLAGS |
'perlbrew exec' doesn't set CFLAGS and LDFLAGS so you could end up having XS modules building with the wrong flags.
Something along the lines of:
eval `perl << 'EOF'
use Config;
print "export CFLAGS=\"$Config{ccflags}\"\n";
print "export LDFLAGS=\"$Config{ldflags}\"\n";
EOF`