configure.in
changeset 6967 adc80d085ddf
parent 6960 e4e9fbf6f333
child 6986 bc887debed9b
equal deleted inserted replaced
6966:090df160f6e0 6967:adc80d085ddf
   792             fi
   792             fi
   793             if test x$have_loadso = xyes && \
   793             if test x$have_loadso = xyes && \
   794                test x$enable_pulseaudio_shared = xyes && test x$pulseaudio_lib != x; then
   794                test x$enable_pulseaudio_shared = xyes && test x$pulseaudio_lib != x; then
   795                 echo "-- dynamic libpulse-simple -> $pulseaudio_lib"
   795                 echo "-- dynamic libpulse-simple -> $pulseaudio_lib"
   796                 AC_DEFINE_UNQUOTED(SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC, "$pulseaudio_lib", [ ])
   796                 AC_DEFINE_UNQUOTED(SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC, "$pulseaudio_lib", [ ])
       
   797 
       
   798                 case "$host" in
       
   799                     # On Solaris, pulseaudio must be linked deferred explicitly
       
   800                     # to prevent undefined symbol failures.
       
   801                     *-*-solaris*)
       
   802                         PULSEAUDIO_LIBS=`echo $PULSEAUDIO_LIBS | sed 's/\-l/-Wl,-l/g'`
       
   803                         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-zdeferred $PULSEAUDIO_LIBS -Wl,-znodeferred"
       
   804                 esac
   797             else
   805             else
   798                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS $PULSEAUDIO_LIBS"
   806                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS $PULSEAUDIO_LIBS"
   799             fi
   807             fi
   800             have_audio=yes
   808             have_audio=yes
   801         fi
   809         fi