Fixed bug 1385 - Debian patch: "Do not uselessly link with -lvorbis -logg"
authorSam Lantinga <slouken@libsdl.org>
Fri, 20 Jan 2012 19:02:54 -0500
changeset 572d22fc7d3fc21
parent 571 7c03b97fc2b7
child 573 23d69b6621d0
Fixed bug 1385 - Debian patch: "Do not uselessly link with -lvorbis -logg"
configure
configure.in
     1.1 --- a/configure	Thu Jan 19 20:56:47 2012 -0500
     1.2 +++ b/configure	Fri Jan 20 19:02:54 2012 -0500
     1.3 @@ -13431,7 +13431,7 @@
     1.4                  echo "-- dynamic libvorbisidec -> $ogg_lib"
     1.5                  EXTRA_CFLAGS="$EXTRA_CFLAGS -DOGG_DYNAMIC=\\\"$ogg_lib\\\""
     1.6              else
     1.7 -                EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lvorbisidec -lvorbis -logg"
     1.8 +                EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lvorbisidec -lvorbis"
     1.9              fi
    1.10          else
    1.11              { echo "$as_me:$LINENO: WARNING: *** Unable to find Ogg Vorbis Tremor library (http://www.xiph.org/)" >&5
    1.12 @@ -13656,7 +13656,7 @@
    1.13                  echo "-- dynamic libvorbisfile -> $ogg_lib"
    1.14                  EXTRA_CFLAGS="$EXTRA_CFLAGS -DOGG_DYNAMIC=\\\"$ogg_lib\\\""
    1.15              else
    1.16 -                EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lvorbisfile -lvorbis -logg"
    1.17 +                EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lvorbisfile -lvorbis"
    1.18              fi
    1.19          else
    1.20              { echo "$as_me:$LINENO: WARNING: *** Unable to find Ogg Vorbis library (http://www.xiph.org/)" >&5
     2.1 --- a/configure.in	Thu Jan 19 20:56:47 2012 -0500
     2.2 +++ b/configure.in	Fri Jan 20 19:02:54 2012 -0500
     2.3 @@ -457,7 +457,7 @@
     2.4                  echo "-- dynamic libvorbisidec -> $ogg_lib"
     2.5                  EXTRA_CFLAGS="$EXTRA_CFLAGS -DOGG_DYNAMIC=\\\"$ogg_lib\\\""
     2.6              else
     2.7 -                EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lvorbisidec -lvorbis -logg"
     2.8 +                EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lvorbisidec -lvorbis"
     2.9              fi
    2.10          else
    2.11              AC_MSG_WARN([*** Unable to find Ogg Vorbis Tremor library (http://www.xiph.org/)])
    2.12 @@ -487,7 +487,7 @@
    2.13                  echo "-- dynamic libvorbisfile -> $ogg_lib"
    2.14                  EXTRA_CFLAGS="$EXTRA_CFLAGS -DOGG_DYNAMIC=\\\"$ogg_lib\\\""
    2.15              else
    2.16 -                EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lvorbisfile -lvorbis -logg"
    2.17 +                EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lvorbisfile -lvorbis"
    2.18              fi
    2.19          else
    2.20              AC_MSG_WARN([*** Unable to find Ogg Vorbis library (http://www.xiph.org/)])