comparison mupdf-source/thirdparty/harfbuzz/mingw-configure.sh @ 2:b50eed0cc0ef upstream

ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4. The directory name has changed: no version number in the expanded directory now.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:43:07 +0200
parents
children
comparison
equal deleted inserted replaced
1:1d09e1dec1d9 2:b50eed0cc0ef
1 #!/bin/sh
2
3 case $1 in
4 i686 | x86_64) ;;
5 *) echo "Usage: $0 i686|x86_64" >&2; exit 1 ;;
6 esac
7
8 target=$1-w64-mingw32
9 shift
10
11 exec "$(dirname "$0")"/configure \
12 --build=`../config.guess` \
13 --host=$target \
14 --prefix=$HOME/.local/$target \
15 CC= \
16 CXX= \
17 CPP= \
18 LD= \
19 CFLAGS="-static-libgcc" \
20 CXXFLAGS="-O2 -static-libgcc -static-libstdc++" \
21 CPPFLAGS="-I$HOME/.local/$target/include" \
22 LDFLAGS=-L$HOME/.local/$target/lib \
23 PKG_CONFIG_LIBDIR=$HOME/.local/$target/lib/pkgconfig:/usr/$target/sys-root/mingw/lib/pkgconfig/ \
24 PKG_CONFIG_PATH=$HOME/.local/$target/share/pkgconfig:/usr/$target/sys-root/mingw/share/pkgconfig/ \
25 PATH=$HOME/.local/$target/bin:/usr/$target/sys-root/mingw/bin:/usr/$target/bin:$PATH \
26 --without-icu \
27 --with-gdi \
28 --with-uniscribe \
29 --with-directwrite=auto \
30 "$@"