Skip to content

Commit

Permalink
list of options gets passed to list form of system
Browse files Browse the repository at this point in the history
  • Loading branch information
daxim committed Apr 27, 2010
1 parent 45b1062 commit 4b7444d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Build.PL
Expand Up @@ -2,6 +2,7 @@ use strict;
use warnings;
use Module::Build;
use Alien::SDL;
use ExtUtils::CBuilder qw();
use SDL::Config;
# See perldoc Module::Build for details of how this works

Expand All @@ -14,10 +15,9 @@ $cflags = '-I'
;
$cflags .= ' -fnested-functions' if $^O =~ /darwin/;

my @linkers = ( Alien::SDL->config('libs', '-lSDL_image'));
my @linkers = ExtUtils::CBuilder->new->split_like_shell(Alien::SDL->config('libs', '-lSDL_image'));


my $builder = Module::Build->new(
my $builder = Module::Build->new(
module_name => 'SDLx::TTF',
dist_author => 'Kartik Thakore <kthakore@cpan.org>',
dist_version_from => 'lib/SDLx/TTF.pm',
Expand All @@ -28,7 +28,8 @@ my $builder = Module::Build->new(
},
configure_requires => {
'SDL' => '2.404',
'Alien::SDL' => '1.3'
'Alien::SDL' => '1.3',
'ExtUtils::CBuilder' => 0,
},
build_requires => {
'SDL' => '2.404',
Expand Down

0 comments on commit 4b7444d

Please sign in to comment.