++ed by:
SZABGAB SAPER KTHAKORE KEEDI DMOL

13 PAUSE users
7 non-PAUSE users.

Kartik Thakore
and 1 contributors

##TODO: MacOSx Arch Fix. # Move this to appropriate place my $sdl_lib_name = 'libSDL.dylib'; #get the right extentions dynamically my $sdl_lib = Alien::SDL->config('prefix')."/lib/$sdl_lib_name"; #Note 'prefix' is not set when Alien::SDL is built with preinstall SDL

my $lipo_out = 'lipo -info '.$sdl_lib; my $arch = $1 if $lipo_out = m/architecture:\s*(\w+)\b/;

my $lddflags = $build->config( 'lddflags' ); my $ccflags = $build->config( 'cflags' ); my $ldflags = $build->config( 'ldflags' );

## foreach of above strip -arch foo and add -arch $arch