Mercurial > hgrepos > Python2 > PyMuPDF
view mupdf-source/thirdparty/tesseract/nsis/Makefile.am @ 38:8934ac156ef5
Allow to build with the PyPI package "clang" instead of "libclang".
1. It seems to be maintained.
2. In the FreeBSD base system there is no pre-built libclang.so. If you
need this library you have to install llvm from ports additionally.
2. On FreeBSD there is no pre-built wheel "libclang" with a packaged
libclang.so.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 23 Sep 2025 10:27:15 +0200 |
| parents | b50eed0cc0ef |
| children |
line wrap: on
line source
AUTOMAKE_OPTIONS = subdir-objects all: if MINGW gitrev="$(shell git --git-dir=${abs_top_srcdir}/.git --work-tree=${abs_top_srcdir} describe --always --tags | sed s/^v//)" .PHONY: winsetup Plugins/x86-unicode/INetC.dll: curl -OsS https://nsis.sourceforge.io/mediawiki/images/c/c9/Inetc.zip unzip Inetc.zip $@ winpath.exe: winpath.cpp x86_64-w64-mingw32-g++ -Os -o $@ $< x86_64-w64-mingw32-strip --strip-unneeded $@ winsetup: Plugins/x86-unicode/INetC.dll winpath.exe makensis -DCROSSBUILD -DSHARED -DSIGNCODE=$(SIGNCODE) -DSRCDIR=$(top_srcdir) -DVERSION=${gitrev} $(shell test "$(host_cpu)" = x86_64 && echo "-DW64") -NOCD $(top_srcdir)/nsis/tesseract.nsi endif
