Permalink
Browse files

Add extra_compiler_flags and extra_linker_flags

  • Loading branch information...
1 parent cd68edf commit 364d64d5de367cb7effd7e0f8665dec0a0caa02a @Leont committed Apr 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 inc/Library/Build/Compile.pm
@@ -166,7 +166,7 @@ sub mixin {
$builder->inject_roles({ build => \%compile_methods });
$builder->register_dirty(binary => [qw/_build/]);
- $builder->register_argument(include_dir => 2);
+ $builder->register_argument(map { ($_ => 2) } qw/include_dir extra_compiler_flags extra_linker_flags/);
$builder->register_paths(
'so' => (split / /, $builder->config('libpth'))[0],
'headers' => $builder->config('usrinc'),

0 comments on commit 364d64d

Please sign in to comment.