Permalink
Browse files

return ld_shlib_map, ld_shared_libs and ld_paths from config when usi…

…ng script option

This is needed by t/image.t in SDL
  • Loading branch information...
1 parent ee4c875 commit a56088b5587d52386563d9d6ff531f4e1ab2b44a @jtpalmer jtpalmer committed Jul 28, 2012
Showing with 4 additions and 0 deletions.
  1. +1 −0 Changes
  2. +3 −0 lib/Alien/SDL.pm
View
@@ -6,6 +6,7 @@ TODO
- check for available libs when using --with-sdl-config option
1.437_2
+ - return ld_shlib_map, ld_shared_libs and ld_paths from config when using script option [jtpalmer]
- excluding undef paths from ld_shlib_map and ld_shared_libs [jtpalmer]
- changed shlib regex to match libz and libfreetype [jtpalmer]
- disabling mmx for SDL_gfx for armv6-unix [jtpalmer]
View
@@ -305,6 +305,9 @@ sub _sdl_config_via_script
$val .= ' ' . join(' ', @add_libs) if scalar @add_libs;
$val .= ' ' . Alien::SDL::ConfigData->config('additional_libs');
}
+ elsif($param =~ /^(ld_shlib_map|ld_shared_libs|ld_paths)$/) {
+ $val = Alien::SDL::ConfigData->config('config')->{$param};
+ }
return $val;
}

0 comments on commit a56088b

Please sign in to comment.