mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 05:43:58 +08:00
0f719b3fdf
* [ffmpeg] Update to 5.0 * update versions * Fix after merge. * ffmpeg: Fix lzma debug lib naming. * Update ffmpeg.json * Update ffmpeg.json * Update ffmpeg.json * fixup versions. * fixup * version fixup * Update ffmpeg.json * [ffmpeg] Disable autodetect. * [ffmpeg] Update version. * [ffmpeg] fixup autodetect on linux/uwp. * Update ffmpeg.json * [avcpp] Update to 2.1.0. * [pangolin] Update to 0.8. * Update versions. * [pangolin] Fixup port file. * Update pangolin.json * [aubio] Update to latest git master. * Update pangolin.json * [avcpp] Add license field. * [avcpp] Fix pkgconf detection of ffmpeg. * [ignition-cmake] Update to 2.16.0. * [ignition-math6] Update to 6.13.0. * [ignition-common3] Update to 3.14.1. * [avcpp] Reformat. * Update versions. * [avcpp] Fix pkgconfig cross compile. * [discordcoreapi] Disable on uwp. * Update versions * [aubio] Fix deprecated portfile functions. * Update versions. * [ffmpeg] Fix amf/mfx feature. * [ignition-math6] Require python 3.10. * Update versions. * fixup * [ignition-math6] Change version to last known good 6.9.2. * [discordcoreapi] Properly Fix. * Update versions. * Update versions. * Update ffmpeg.json * Update ffmpeg.json
42 lines
1.9 KiB
Diff
42 lines
1.9 KiB
Diff
diff --git a/configure b/configure
|
|
index bd2de34..fba948a 100755
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -3993,6 +3993,9 @@ for opt do
|
|
--libfuzzer=*)
|
|
libfuzzer_path="$optval"
|
|
;;
|
|
+ --debug)
|
|
+ enable debug_configure
|
|
+ ;;
|
|
*)
|
|
optname="${opt%%=*}"
|
|
optname="${optname#--}"
|
|
@@ -6464,8 +6464,12 @@
|
|
|
|
enabled zlib && { check_pkg_config zlib zlib "zlib.h" zlibVersion ||
|
|
check_lib zlib zlib.h zlibVersion -lz; }
|
|
-enabled bzlib && check_lib bzlib bzlib.h BZ2_bzlibVersion -lbz2
|
|
+if enabled debug_configure; then
|
|
+ enabled bzlib && check_lib bzlib bzlib.h BZ2_bzlibVersion -lbz2d
|
|
+else
|
|
+ enabled bzlib && check_lib bzlib bzlib.h BZ2_bzlibVersion -lbz2
|
|
+fi
|
|
enabled lzma && check_lib lzma lzma.h lzma_version_number -llzma
|
|
|
|
enabled zlib && test_exec $zlib_extralibs <<EOF && enable zlib_gzip
|
|
#include <zlib.h>
|
|
@@ -6350,7 +6350,11 @@ enabled librubberband && require_pkg_config librubberband "rubberband >= 1.8
|
|
enabled libshine && require_pkg_config libshine shine shine/layer3.h shine_encode_buffer
|
|
enabled libsmbclient && { check_pkg_config libsmbclient smbclient libsmbclient.h smbc_init ||
|
|
require libsmbclient libsmbclient.h smbc_init -lsmbclient; }
|
|
-enabled libsnappy && require libsnappy snappy-c.h snappy_compress -lsnappy -lstdc++
|
|
+if enabled debug_configure; then
|
|
+ enabled libsnappy && require libsnappy snappy-c.h snappy_compress -lsnappy -lstdc++
|
|
+else
|
|
+ enabled libsnappy && require libsnappy snappy-c.h snappy_compress -lsnappy -lstdc++
|
|
+fi
|
|
enabled libsoxr && require libsoxr soxr.h soxr_create -lsoxr
|
|
enabled libssh && require_pkg_config libssh libssh libssh/sftp.h sftp_init
|
|
enabled libspeex && require_pkg_config libspeex speex speex/speex.h speex_decoder_init
|