@@ -70,19 +70,19 @@ case $PLATFORM in
70
70
./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=arm-linux --with-sysroot=" $ANDROID_ROOT " --disable-arm-neon
71
71
make -j $MAKEJ
72
72
make install
73
- cd ../$LIBTIFF
74
- ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=arm-linux --with-sysroot=" $ANDROID_ROOT " --disable-lzma --disable-zstd --without-x
75
- make -j $MAKEJ
76
- make install
77
73
cd ../$LIBWEBP
78
74
patch -Np1 < ../../../libwebp-arm.patch
79
- ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=arm-linux-androideabi --with-sysroot=" $ANDROID_ROOT " --disable-neon
75
+ ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=arm-linux-androideabi --with-sysroot=" $ANDROID_ROOT " --disable-neon --enable-libwebpmux
80
76
cd src
81
77
make -j $MAKEJ
82
78
make install
83
- cd ../../leptonica-$LEPTONICA_VERSION
79
+ cd ../../$LIBTIFF
80
+ ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=arm-linux --with-sysroot=" $ANDROID_ROOT " --disable-lzma --disable-zstd --without-x
81
+ make -j $MAKEJ
82
+ make install
83
+ cd ../leptonica-$LEPTONICA_VERSION
84
84
patch -Np1 < ../../../leptonica-android.patch
85
- PKG_CONFIG_PATH=$INSTALL_PATH /lib/pkgconfig/ ./configure --prefix=$INSTALL_PATH --host=arm-linux-androideabi --disable-programs
85
+ PKG_CONFIG_PATH=$INSTALL_PATH /lib/pkgconfig/ ./configure --prefix=$INSTALL_PATH --host=arm-linux-androideabi --disable-programs --without-libopenjpeg
86
86
make -j $MAKEJ
87
87
make install-strip
88
88
;;
@@ -109,19 +109,19 @@ case $PLATFORM in
109
109
./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=aarch64-linux --with-sysroot=" $ANDROID_ROOT " --disable-arm-neon
110
110
make -j $MAKEJ
111
111
make install
112
- cd ../$LIBTIFF
113
- ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=arm-linux --with-sysroot=" $ANDROID_ROOT " --disable-lzma --disable-zstd --without-x
114
- make -j $MAKEJ
115
- make install
116
112
cd ../$LIBWEBP
117
113
patch -Np1 < ../../../libwebp-arm.patch
118
- ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=aarch64-linux-android --with-sysroot=" $ANDROID_ROOT " --disable-neon
114
+ ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=aarch64-linux-android --with-sysroot=" $ANDROID_ROOT " --disable-neon --enable-libwebpmux
119
115
cd src
120
116
make -j $MAKEJ
121
117
make install
122
- cd ../../leptonica-$LEPTONICA_VERSION
118
+ cd ../../$LIBTIFF
119
+ ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=arm-linux --with-sysroot=" $ANDROID_ROOT " --disable-lzma --disable-zstd --without-x
120
+ make -j $MAKEJ
121
+ make install
122
+ cd ../leptonica-$LEPTONICA_VERSION
123
123
patch -Np1 < ../../../leptonica-android.patch
124
- PKG_CONFIG_PATH=$INSTALL_PATH /lib/pkgconfig/ ./configure --prefix=$INSTALL_PATH --host=aarch64-linux-android --disable-programs
124
+ PKG_CONFIG_PATH=$INSTALL_PATH /lib/pkgconfig/ ./configure --prefix=$INSTALL_PATH --host=aarch64-linux-android --disable-programs --without-libopenjpeg
125
125
make -j $MAKEJ
126
126
make install-strip
127
127
;;
@@ -148,18 +148,18 @@ case $PLATFORM in
148
148
./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=i686-linux --with-sysroot=" $ANDROID_ROOT "
149
149
make -j $MAKEJ
150
150
make install
151
- cd ../$LIBTIFF
152
- ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=i686-linux --with-sysroot=" $ANDROID_ROOT " --disable-lzma --disable-zstd --without-x
153
- make -j $MAKEJ
154
- make install
155
151
cd ../$LIBWEBP
156
- ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=i686-linux-android --with-sysroot=" $ANDROID_ROOT "
152
+ ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=i686-linux-android --with-sysroot=" $ANDROID_ROOT " --enable-libwebpmux
157
153
cd src
158
154
make -j $MAKEJ
159
155
make install
160
- cd ../../leptonica-$LEPTONICA_VERSION
156
+ cd ../../$LIBTIFF
157
+ ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=i686-linux --with-sysroot=" $ANDROID_ROOT " --disable-lzma --disable-zstd --without-x
158
+ make -j $MAKEJ
159
+ make install
160
+ cd ../leptonica-$LEPTONICA_VERSION
161
161
patch -Np1 < ../../../leptonica-android.patch
162
- PKG_CONFIG_PATH=$INSTALL_PATH /lib/pkgconfig/ ./configure --prefix=$INSTALL_PATH --host=i686-linux-android --disable-programs
162
+ PKG_CONFIG_PATH=$INSTALL_PATH /lib/pkgconfig/ ./configure --prefix=$INSTALL_PATH --host=i686-linux-android --disable-programs --without-libopenjpeg
163
163
make -j $MAKEJ
164
164
make install-strip
165
165
;;
@@ -186,23 +186,23 @@ case $PLATFORM in
186
186
./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=x86_64-linux --with-sysroot=" $ANDROID_ROOT "
187
187
make -j $MAKEJ
188
188
make install
189
- cd ../$LIBTIFF
190
- ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=x86_64-linux --with-sysroot=" $ANDROID_ROOT " --disable-lzma --disable-zstd --without-x
191
- make -j $MAKEJ
192
- make install
193
189
cd ../$LIBWEBP
194
- ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=x86_64-linux-android --with-sysroot=" $ANDROID_ROOT "
190
+ ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=x86_64-linux-android --with-sysroot=" $ANDROID_ROOT " --enable-libwebpmux
195
191
cd src
196
192
make -j $MAKEJ
197
193
make install
198
- cd ../../leptonica-$LEPTONICA_VERSION
194
+ cd ../../$LIBTIFF
195
+ ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=x86_64-linux --with-sysroot=" $ANDROID_ROOT " --disable-lzma --disable-zstd --without-x
196
+ make -j $MAKEJ
197
+ make install
198
+ cd ../leptonica-$LEPTONICA_VERSION
199
199
patch -Np1 < ../../../leptonica-android.patch
200
- PKG_CONFIG_PATH=$INSTALL_PATH /lib/pkgconfig/ ./configure --prefix=$INSTALL_PATH --host=x86_64-linux-android --disable-programs
200
+ PKG_CONFIG_PATH=$INSTALL_PATH /lib/pkgconfig/ ./configure --prefix=$INSTALL_PATH --host=x86_64-linux-android --disable-programs --without-libopenjpeg
201
201
make -j $MAKEJ
202
202
make install-strip
203
203
;;
204
204
linux-x86)
205
- export CFLAGS=" -I$INSTALL_PATH /include/"
205
+ export CFLAGS=" -pthread - I$INSTALL_PATH /include/"
206
206
export CXXFLAGS=" $CFLAGS "
207
207
export CPPFLAGS=" $CFLAGS "
208
208
export LDFLAGS=" -L$INSTALL_PATH /lib/"
@@ -223,21 +223,21 @@ case $PLATFORM in
223
223
./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=i686-linux
224
224
make -j $MAKEJ
225
225
make install
226
- cd ../$LIBTIFF
227
- ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=i686-linux --disable-lzma --disable-zstd
226
+ cd ../$LIBWEBP
227
+ ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=i686-linux --enable-libwebpmux
228
228
make -j $MAKEJ
229
229
make install
230
- cd ../$LIBWEBP
231
- ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=i686-linux
230
+ cd ../$LIBTIFF
231
+ ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=i686-linux --disable-lzma --disable-zstd
232
232
make -j $MAKEJ
233
233
make install
234
234
cd ../leptonica-$LEPTONICA_VERSION
235
- PKG_CONFIG_PATH=$INSTALL_PATH /lib/pkgconfig/ ./configure --prefix=$INSTALL_PATH CFLAGS=" -pthread -I$INSTALL_PATH /include/" LDFLAGS=" -L$INSTALL_PATH /lib/" --disable-programs
235
+ PKG_CONFIG_PATH=$INSTALL_PATH /lib/pkgconfig/ ./configure --prefix=$INSTALL_PATH CFLAGS=" -pthread -I$INSTALL_PATH /include/" LDFLAGS=" -L$INSTALL_PATH /lib/" --disable-programs --without-libopenjpeg
236
236
make -j $MAKEJ
237
237
make install-strip
238
238
;;
239
239
linux-x86_64)
240
- export CFLAGS=" -I$INSTALL_PATH /include/"
240
+ export CFLAGS=" -pthread - I$INSTALL_PATH /include/"
241
241
export CXXFLAGS=" $CFLAGS "
242
242
export CPPFLAGS=" $CFLAGS "
243
243
export LDFLAGS=" -L$INSTALL_PATH /lib/"
@@ -258,21 +258,21 @@ case $PLATFORM in
258
258
./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=x86_64-linux
259
259
make -j $MAKEJ
260
260
make install
261
- cd ../$LIBTIFF
262
- ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=x86_64-linux --disable-lzma --disable-zstd
261
+ cd ../$LIBWEBP
262
+ ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=x86_64-linux --enable-libwebpmux
263
263
make -j $MAKEJ
264
264
make install
265
- cd ../$LIBWEBP
266
- ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=x86_64-linux
265
+ cd ../$LIBTIFF
266
+ ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=x86_64-linux --disable-lzma --disable-zstd
267
267
make -j $MAKEJ
268
268
make install
269
269
cd ../leptonica-$LEPTONICA_VERSION
270
- PKG_CONFIG_PATH=$INSTALL_PATH /lib/pkgconfig/ ./configure --prefix=$INSTALL_PATH CFLAGS=" -pthread -I$INSTALL_PATH /include/" LDFLAGS=" -L$INSTALL_PATH /lib/" --disable-programs
270
+ PKG_CONFIG_PATH=$INSTALL_PATH /lib/pkgconfig/ ./configure --prefix=$INSTALL_PATH CFLAGS=" -pthread -I$INSTALL_PATH /include/" LDFLAGS=" -L$INSTALL_PATH /lib/" --disable-programs --without-libopenjpeg
271
271
make -j $MAKEJ
272
272
make install-strip
273
273
;;
274
274
linux-armhf)
275
- export CFLAGS=" -march=armv6 -marm -mfpu=vfp -mfloat-abi=hard -I$INSTALL_PATH /include/"
275
+ export CFLAGS=" -pthread - march=armv6 -marm -mfpu=vfp -mfloat-abi=hard -I$INSTALL_PATH /include/"
276
276
export CXXFLAGS=" $CFLAGS "
277
277
export CPPFLAGS=" $CFLAGS "
278
278
export LDFLAGS=" -L$INSTALL_PATH /lib/"
@@ -295,22 +295,22 @@ case $PLATFORM in
295
295
CC=" arm-linux-gnueabihf-gcc -fPIC" ./configure --prefix=$INSTALL_PATH CFLAGS=" -pthread -I$INSTALL_PATH /include/" LDFLAGS=" -L$INSTALL_PATH /lib/" --disable-shared --with-pic --host=arm-linux-gnueabihf --disable-arm-neon
296
296
make -j $MAKEJ
297
297
make install
298
- cd ../$LIBTIFF
299
- ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --disable-lzma --disable-zstd --host=arm-linux-gnueabihf
300
- make -j $MAKEJ
301
- make install
302
298
cd ../$LIBWEBP
303
299
patch -Np1 < ../../../libwebp-arm.patch
304
- ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=arm-linux-gnueabihf --disable-neon
300
+ ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=arm-linux-gnueabihf --disable-neon --enable-libwebpmux
301
+ make -j $MAKEJ
302
+ make install
303
+ cd ../$LIBTIFF
304
+ ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --disable-lzma --disable-zstd --host=arm-linux-gnueabihf
305
305
make -j $MAKEJ
306
306
make install
307
307
cd ../leptonica-$LEPTONICA_VERSION
308
- PKG_CONFIG_PATH=$INSTALL_PATH /lib/pkgconfig/ CC=" arm-linux-gnueabihf-gcc -fPIC" ./configure --prefix=$INSTALL_PATH CFLAGS=" -pthread -I$INSTALL_PATH /include/" LDFLAGS=" -L$INSTALL_PATH /lib/" --host=arm-linux-gnueabihf --disable-programs
308
+ PKG_CONFIG_PATH=$INSTALL_PATH /lib/pkgconfig/ CC=" arm-linux-gnueabihf-gcc -fPIC" ./configure --prefix=$INSTALL_PATH CFLAGS=" -pthread -I$INSTALL_PATH /include/" LDFLAGS=" -L$INSTALL_PATH /lib/" --host=arm-linux-gnueabihf --disable-programs --without-libopenjpeg
309
309
make -j $MAKEJ
310
310
make install-strip
311
311
;;
312
312
linux-arm64)
313
- export CFLAGS=" -I$INSTALL_PATH /include/"
313
+ export CFLAGS=" -pthread - I$INSTALL_PATH /include/"
314
314
export CXXFLAGS=" $CFLAGS "
315
315
export CPPFLAGS=" $CFLAGS "
316
316
export LDFLAGS=" -L$INSTALL_PATH /lib/"
@@ -332,21 +332,21 @@ case $PLATFORM in
332
332
CC=" aarch64-linux-gnu-gcc -fPIC" ./configure --prefix=$INSTALL_PATH CFLAGS=" -pthread -I$INSTALL_PATH /include/" LDFLAGS=" -L$INSTALL_PATH /lib/" --disable-shared --with-pic --host=aarch64-linux-gnu
333
333
make -j $MAKEJ
334
334
make install
335
- cd ../$LIBTIFF
336
- ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --disable-lzma --disable-zstd -- host=aarch64-linux-gnu
335
+ cd ../$LIBWEBP
336
+ ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=aarch64-linux-gnu --enable-libwebpmux
337
337
make -j $MAKEJ
338
338
make install
339
- cd ../$LIBWEBP
340
- ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --host=aarch64-linux-gnu
339
+ cd ../$LIBTIFF
340
+ ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --disable-lzma --disable-zstd -- host=aarch64-linux-gnu
341
341
make -j $MAKEJ
342
342
make install
343
343
cd ../leptonica-$LEPTONICA_VERSION
344
- PKG_CONFIG_PATH=$INSTALL_PATH /lib/pkgconfig/ CC=" aarch64-linux-gnu-gcc -fPIC" ./configure --prefix=$INSTALL_PATH CFLAGS=" -pthread -I$INSTALL_PATH /include/" LDFLAGS=" -L$INSTALL_PATH /lib/" --host=aarch64-linux-gnu --disable-programs
344
+ PKG_CONFIG_PATH=$INSTALL_PATH /lib/pkgconfig/ CC=" aarch64-linux-gnu-gcc -fPIC" ./configure --prefix=$INSTALL_PATH CFLAGS=" -pthread -I$INSTALL_PATH /include/" LDFLAGS=" -L$INSTALL_PATH /lib/" --host=aarch64-linux-gnu --disable-programs --without-libopenjpeg
345
345
make -j $MAKEJ
346
346
make install-strip
347
347
;;
348
348
linux-ppc64le)
349
- export CFLAGS=" -I$INSTALL_PATH /include/"
349
+ export CFLAGS=" -pthread - I$INSTALL_PATH /include/"
350
350
export CXXFLAGS=" $CFLAGS "
351
351
export CPPFLAGS=" $CFLAGS "
352
352
export LDFLAGS=" -L$INSTALL_PATH /lib/"
@@ -376,22 +376,22 @@ case $PLATFORM in
376
376
./configure --prefix=$INSTALL_PATH --disable-shared --with-pic $BFLAGS
377
377
make -j $MAKEJ
378
378
make install
379
- cd ../$LIBTIFF
380
- ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic $BFLAGS --disable-lzma --disable-zstd
379
+ cd ../$LIBWEBP
380
+ ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic $BFLAGS --enable-libwebpmux
381
381
make -j $MAKEJ
382
382
make install
383
- cd ../$LIBWEBP
384
- ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic $BFLAGS
383
+ cd ../$LIBTIFF
384
+ ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic $BFLAGS --disable-lzma --disable-zstd
385
385
make -j $MAKEJ
386
386
make install
387
387
cd ../leptonica-$LEPTONICA_VERSION
388
388
sed -i s/elf64ppc/elf64lppc/ configure
389
- PKG_CONFIG_PATH=$INSTALL_PATH /lib/pkgconfig/ ./configure --prefix=$INSTALL_PATH CFLAGS=" -pthread -I$INSTALL_PATH /include/" LDFLAGS=" -L$INSTALL_PATH /lib/" $BFLAGS --disable-programs
389
+ PKG_CONFIG_PATH=$INSTALL_PATH /lib/pkgconfig/ ./configure --prefix=$INSTALL_PATH CFLAGS=" -pthread -I$INSTALL_PATH /include/" LDFLAGS=" -L$INSTALL_PATH /lib/" $BFLAGS --disable-programs --without-libopenjpeg
390
390
make -j $MAKEJ
391
391
make install-strip
392
392
;;
393
393
macosx-* )
394
- export CFLAGS=" -I$INSTALL_PATH /include/"
394
+ export CFLAGS=" -pthread - I$INSTALL_PATH /include/"
395
395
export CXXFLAGS=" $CFLAGS "
396
396
export CPPFLAGS=" $CFLAGS "
397
397
export LDFLAGS=" -L$INSTALL_PATH /lib/"
@@ -411,22 +411,22 @@ case $PLATFORM in
411
411
./configure --prefix=$INSTALL_PATH --disable-shared --with-pic
412
412
make -j $MAKEJ
413
413
make install
414
- cd ../$LIBTIFF
415
- ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --disable-lzma --disable-zstd
414
+ cd ../$LIBWEBP
415
+ ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --enable-libwebpmux
416
416
make -j $MAKEJ
417
417
make install
418
- cd ../$LIBWEBP
419
- ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic
418
+ cd ../$LIBTIFF
419
+ ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --disable-lzma --disable-zstd
420
420
make -j $MAKEJ
421
421
make install
422
422
cd ../leptonica-$LEPTONICA_VERSION
423
423
patch -Np1 < ../../../leptonica-macosx.patch
424
- PKG_CONFIG_PATH=$INSTALL_PATH /lib/pkgconfig/ ./configure --prefix=$INSTALL_PATH CFLAGS=" -pthread -I$INSTALL_PATH /include/" LDFLAGS=" -L$INSTALL_PATH /lib/" --disable-programs
424
+ PKG_CONFIG_PATH=$INSTALL_PATH /lib/pkgconfig/ ./configure --prefix=$INSTALL_PATH CFLAGS=" -pthread -I$INSTALL_PATH /include/" LDFLAGS=" -L$INSTALL_PATH /lib/" --disable-programs --without-libopenjpeg
425
425
make -j $MAKEJ
426
426
make install-strip
427
427
;;
428
428
windows-x86)
429
- export CFLAGS=" -I$INSTALL_PATH /include/"
429
+ export CFLAGS=" -pthread - I$INSTALL_PATH /include/"
430
430
export CXXFLAGS=" $CFLAGS "
431
431
export CPPFLAGS=" $CFLAGS "
432
432
export LDFLAGS=" -L$INSTALL_PATH /lib/"
@@ -445,21 +445,21 @@ case $PLATFORM in
445
445
./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --build=i686-w64-mingw32
446
446
make -j $MAKEJ
447
447
make install
448
- cd ../$LIBTIFF
449
- ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --build=i686-w64-mingw32 --disable-lzma --disable-zstd
448
+ cd ../$LIBWEBP
449
+ ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --build=i686-w64-mingw32 --enable-libwebpmux
450
450
make -j $MAKEJ
451
451
make install
452
- cd ../$LIBWEBP
453
- ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --build=i686-w64-mingw32
452
+ cd ../$LIBTIFF
453
+ ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --build=i686-w64-mingw32 --disable-lzma --disable-zstd
454
454
make -j $MAKEJ
455
455
make install
456
456
cd ../leptonica-$LEPTONICA_VERSION
457
- PKG_CONFIG_PATH=$INSTALL_PATH /lib/pkgconfig/ ./configure --prefix=$INSTALL_PATH CFLAGS=" -pthread -I$INSTALL_PATH /include/" LDFLAGS=" -L$INSTALL_PATH /lib/ -Wl,$INSTALL_PATH /lib/*.a" --build=i686-w64-mingw32 --disable-programs
457
+ PKG_CONFIG_PATH=$INSTALL_PATH /lib/pkgconfig/ ./configure --prefix=$INSTALL_PATH CFLAGS=" -pthread -I$INSTALL_PATH /include/" LDFLAGS=" -L$INSTALL_PATH /lib/ -Wl,$INSTALL_PATH /lib/*.a" --build=i686-w64-mingw32 --disable-programs --without-libopenjpeg
458
458
make -j $MAKEJ
459
459
make install-strip
460
460
;;
461
461
windows-x86_64)
462
- export CFLAGS=" -I$INSTALL_PATH /include/"
462
+ export CFLAGS=" -pthread - I$INSTALL_PATH /include/"
463
463
export CXXFLAGS=" $CFLAGS "
464
464
export CPPFLAGS=" $CFLAGS "
465
465
export LDFLAGS=" -L$INSTALL_PATH /lib/"
@@ -478,16 +478,16 @@ case $PLATFORM in
478
478
./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --build=x86_64-w64-mingw32
479
479
make -j $MAKEJ
480
480
make install
481
- cd ../$LIBTIFF
482
- ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --build=x86_64-w64-mingw32 --disable-lzma --disable-zstd
481
+ cd ../$LIBWEBP
482
+ ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --build=x86_64-w64-mingw32 --enable-libwebpmux
483
483
make -j $MAKEJ
484
484
make install
485
- cd ../$LIBWEBP
486
- ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --build=x86_64-w64-mingw32
485
+ cd ../$LIBTIFF
486
+ ./configure --prefix=$INSTALL_PATH --disable-shared --with-pic --build=x86_64-w64-mingw32 --disable-lzma --disable-zstd
487
487
make -j $MAKEJ
488
488
make install
489
489
cd ../leptonica-$LEPTONICA_VERSION
490
- PKG_CONFIG_PATH=$INSTALL_PATH /lib/pkgconfig/ ./configure --prefix=$INSTALL_PATH CFLAGS=" -pthread -I$INSTALL_PATH /include/" LDFLAGS=" -L$INSTALL_PATH /lib/ -Wl,$INSTALL_PATH /lib/*.a" --build=x86_64-w64-mingw32 --disable-programs
490
+ PKG_CONFIG_PATH=$INSTALL_PATH /lib/pkgconfig/ ./configure --prefix=$INSTALL_PATH CFLAGS=" -pthread -I$INSTALL_PATH /include/" LDFLAGS=" -L$INSTALL_PATH /lib/ -Wl,$INSTALL_PATH /lib/*.a" --build=x86_64-w64-mingw32 --disable-programs --without-libopenjpeg
491
491
make -j $MAKEJ
492
492
make install-strip
493
493
;;
0 commit comments