mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-15 23:21:12 +02:00
Fix build error due to under-linking of libvorbis and libogg, which causes a build error if they have been built usining -Wl,--as-needed to avoid re-exporting library symbols
This commit is contained in:
16
configure
vendored
16
configure
vendored
@@ -22156,12 +22156,12 @@ if test -n "$LIBVORBIS_CFLAGS"; then
|
||||
pkg_cv_LIBVORBIS_CFLAGS="$LIBVORBIS_CFLAGS"
|
||||
elif test -n "$PKG_CONFIG"; then
|
||||
if test -n "$PKG_CONFIG" && \
|
||||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vorbisenc vorbisfile\""; } >&5
|
||||
($PKG_CONFIG --exists --print-errors "vorbisenc vorbisfile") 2>&5
|
||||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vorbisenc vorbisfile vorbis ogg\""; } >&5
|
||||
($PKG_CONFIG --exists --print-errors "vorbisenc vorbisfile vorbis ogg") 2>&5
|
||||
ac_status=$?
|
||||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||
test $ac_status = 0; }; then
|
||||
pkg_cv_LIBVORBIS_CFLAGS=`$PKG_CONFIG --cflags "vorbisenc vorbisfile" 2>/dev/null`
|
||||
pkg_cv_LIBVORBIS_CFLAGS=`$PKG_CONFIG --cflags "vorbisenc vorbisfile vorbis ogg" 2>/dev/null`
|
||||
else
|
||||
pkg_failed=yes
|
||||
fi
|
||||
@@ -22172,12 +22172,12 @@ if test -n "$LIBVORBIS_LIBS"; then
|
||||
pkg_cv_LIBVORBIS_LIBS="$LIBVORBIS_LIBS"
|
||||
elif test -n "$PKG_CONFIG"; then
|
||||
if test -n "$PKG_CONFIG" && \
|
||||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vorbisenc vorbisfile\""; } >&5
|
||||
($PKG_CONFIG --exists --print-errors "vorbisenc vorbisfile") 2>&5
|
||||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vorbisenc vorbisfile vorbis ogg\""; } >&5
|
||||
($PKG_CONFIG --exists --print-errors "vorbisenc vorbisfile vorbis ogg") 2>&5
|
||||
ac_status=$?
|
||||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||
test $ac_status = 0; }; then
|
||||
pkg_cv_LIBVORBIS_LIBS=`$PKG_CONFIG --libs "vorbisenc vorbisfile" 2>/dev/null`
|
||||
pkg_cv_LIBVORBIS_LIBS=`$PKG_CONFIG --libs "vorbisenc vorbisfile vorbis ogg" 2>/dev/null`
|
||||
else
|
||||
pkg_failed=yes
|
||||
fi
|
||||
@@ -22195,9 +22195,9 @@ else
|
||||
_pkg_short_errors_supported=no
|
||||
fi
|
||||
if test $_pkg_short_errors_supported = yes; then
|
||||
LIBVORBIS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "vorbisenc vorbisfile" 2>&1`
|
||||
LIBVORBIS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "vorbisenc vorbisfile vorbis ogg" 2>&1`
|
||||
else
|
||||
LIBVORBIS_PKG_ERRORS=`$PKG_CONFIG --print-errors "vorbisenc vorbisfile" 2>&1`
|
||||
LIBVORBIS_PKG_ERRORS=`$PKG_CONFIG --print-errors "vorbisenc vorbisfile vorbis ogg" 2>&1`
|
||||
fi
|
||||
# Put the nasty error message in config.log where it belongs
|
||||
echo "$LIBVORBIS_PKG_ERRORS" >&5
|
||||
|
Reference in New Issue
Block a user