Permalink
Browse files

excluding undef paths from ld_shlib_map and ld_shared_libs

  • Loading branch information...
1 parent fd0331f commit ee4c875d63caa846bbd85dc72fc323aa3887e1f3 @jtpalmer jtpalmer committed Jul 28, 2012
Showing with 2 additions and 0 deletions.
  1. +1 −0 Changes
  2. +1 −0 inc/My/Builder.pm
View
@@ -6,6 +6,7 @@ TODO
- check for available libs when using --with-sdl-config option
1.437_2
+ - 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]
- added bin script to make configuring easier [kthakore]
View
@@ -329,6 +329,7 @@ sub set_ld_config {
for(qw(pthread z jpeg tiff png ogg vorbis vorbisfile freetype
pangoft2 pango gobject gmodule glib fontconfig expat )) {
if( !$shlib_map{$_} && $have_libs->{$_}->[0] ) {
+ next unless defined $have_libs->{$_}->[1];
push @{ $cfg->{ld_shared_libs} }, $have_libs->{$_}->[1];
$shlib_map{$_} = $have_libs->{$_}->[1];
}

0 comments on commit ee4c875

Please sign in to comment.