try seperating out surface - not quite working yet
[sdlgit/SDL_perl.git] / Build.PL
index 55d6148..676c02d 100644 (file)
--- a/Build.PL
+++ b/Build.PL
@@ -55,6 +55,13 @@ my %subsystems =
                },
                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',