Commit c9075d2c authored by Clément Bœsch's avatar Clément Bœsch Committed by Clément Bœsch

build: treat iconv like other autodetected libraries

parent 55fdfc88
......@@ -3605,6 +3605,8 @@ enable_weak cuda cuvid nvenc vda_framework videotoolbox videotoolbox_encoder
# Enable compression/decompression libraries by default
enable_weak zlib bzlib lzma
enable_weak iconv
disabled logging && logfile=/dev/null
die_license_disabled() {
......@@ -6203,7 +6205,7 @@ int main(void) { return 0; }
EOF
# Funny iconv installations are not unusual, so check it after all flags have been set
disabled iconv || check_func_headers iconv.h iconv || check_lib iconv iconv.h iconv -liconv
enabled iconv && check_func_headers iconv.h iconv || check_lib iconv iconv.h iconv -liconv
enabled debug && add_cflags -g"$debuglevel" && add_asflags -g"$debuglevel"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment