mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 11:11:38 +08:00
2b35366a5d
* refine hpx port * v db * add tcmalloc on unix * refine comment * v db * remove hardcoded mpi dep * v db * portfile cleanup * v db * add pkgconf as a dep * v db * [snappy] remove debug suffix and add pc file * hpx pass through _HOST_TRIPLET for pkgconf * v db * fix snappy in ffmpeg * v db * fix name clash of output names * v db * remove tcmalloc * v db * remove bin dir; seems empty on !windows * v db * b v * v db * baseline stuff * fix jemalloc missing msvc_compat headers * v db * install usage for hpx * v db * Update versions/f-/ffmpeg.json * revert v db * bump ffmpeg * v db * remove jemalloc since I can force it thorugh the triplet any way. * v db Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
41 lines
1.8 KiB
Diff
41 lines
1.8 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#--}"
|
|
@@ -6152,7 +6153,11 @@
|
|
|
|
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
|
|
|
|
# On some systems dynamic loading requires no extra linker flags
|
|
@@ -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
|