Make test pass
[sdlgit/SDL_perl.git] / Build.PL
index 4540a1e..048d303 100644 (file)
--- a/Build.PL
+++ b/Build.PL
@@ -41,6 +41,27 @@ my %subsystems =
                libraries => [qw( SDL SDL_image SDL_mixer SDL_net SDL_ttf SDL_gfx
                                  png jpeg smpeg )],
        },
+       Rect => {
+               file      => {
+                       from  => 'src/Core/objects/Rect.xs',
+                       to    => 'lib/SDL/Rect.xs',
+               },
+               libraries => [qw( SDL  )],
+       },
+       Color => {
+               file      => {
+                       from  => 'src/Core/objects/Color.xs',
+                       to    => 'lib/SDL/Color.xs',
+               },
+               libraries => [qw( SDL )],
+       },
+       Surface => {
+               file      => {
+                       from  => 'src/Surface.xs',
+                       to    => 'lib/SDL/Surface.xs',
+               },
+               libraries => [qw( SDL SDL_image )],
+       },
        OpenGL => {
                file      => {
                        from => 'src/OpenGL.xs',
@@ -131,7 +152,7 @@ my $build   = SDL::Build->new(
        {
                'YAML'  => '0.68',
                'ExtUtils::CBuilder' => '0.260301',
-               'Alien::SDL' => '0.7',
+               'Alien::SDL' => '0.7.1',
        },
        build_requires =>
        {