use Cwd qw( realpath ); use File::Basename qw( dirname ); my $lib_path = dirname(realpath($0)); $lib_path =~ s{\\}{/}g; # Needed? And what about spaces? use Inline C => Config => LIBS => "-L$lib_path -lfmodex";
In reply to Re^2: Inline::C with minGW?
by ikegami
in thread Inline::C with minGW?
by xiaoyafeng
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |