surpport seeking the recorded video
[vuplus_openembedded] / recipes / sdlperl / Makefile.patch
1 --- Makefile.linux.orig 2004-06-25 12:44:53.000000000 +0100
2 +++ Makefile.linux      2004-06-25 12:45:37.000000000 +0100
3 @@ -119,12 +119,12 @@
4  my %options = (
5      'NAME'     => 'SDL_perl',
6      'VERSION_FROM' => 'lib/SDL.pm', 
7 -    'LIBS'     => [ join( " ", "$sdl_libs", 
8 +    'LIBS'     => [ join( " ", $ENV{"LDFLAGS"}, "$sdl_libs", 
9                         map { $ext{$_}{exists} ? "-l$_" : '' } (sort keys %ext),
10                         )
11                 ],  
12      'DEFINE'   => join ( " ", @defs, map { $ext{$_}{exists} ? "-D$ext{$_}{inc}" : '' } sort keys %ext),
13 -    'INC'      => "$inc_flags $sdl_cflags " . join(" ", map { "-I$_" } @dirs),
14 +    'INC'      => $ENV{"CFLAGS"} . " $inc_flags $sdl_cflags " . join(" ", map { "-I$_" } @dirs),
15      'OBJECT'   => (    
16                          ($ext{SDL_image}{exists} ? 'SFont.o ' : "") .
17                          'SDL_perl.o ' .