Skip to content

Commit 9d219c3

Browse files
committed
attempt fix tesseract_git/src/api/baseapi.cpp:1144: undefined reference to curl_easy_init' ffmpeg configure if curl was previously built by dvbtee...
1 parent 60b9630 commit 9d219c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cross_compile_ffmpeg.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,7 @@ do_configure() {
485485
./bootstrap.sh
486486
fi
487487
if [[ ! -f $configure_name ]]; then
488+
echo "running autoreconf to generate configure file for us..."
488489
autoreconf -fiv # a handful of them require this to create ./configure :|
489490
fi
490491
rm -f already_* # reset
@@ -943,6 +944,7 @@ build_libtesseract() {
943944
build_libleptonica
944945
do_git_checkout https://github.com/tesseract-ocr/tesseract.git tesseract_git 4.1.1
945946
cd tesseract_git
947+
sed -i.bak 's/libcurl/libbcurl_disabled/' configure.ac # --disable-curl hard disable, sometimes it's here but they link it wrong so punt...
946948
if [[ $compiler_flavors != "native" ]]; then
947949
apply_patch file://$patch_dir/tesseract-4.1.1_mingw-std-threads.patch
948950
generic_configure "--disable-openmp"

0 commit comments

Comments
 (0)