xapian patch to not use hardcoded '-lz' option.

zlib may be installed under the libzlibstatic.a or libzlib.dll.so names.
xapian correctly detect those name but use '-lz' option for xapian_inspec
binary.
This commit is contained in:
Matthieu Gautier
2017-02-07 12:02:44 +01:00
parent b9c93257a6
commit 5259568a89
2 changed files with 36 additions and 1 deletions

View File

@ -781,7 +781,8 @@ class Xapian(Dependency):
class Source(ReleaseDownload):
archive = Remotefile('xapian-core-1.4.0.tar.xz',
'10584f57112aa5e9c0e8a89e251aecbf7c582097638bfee79c1fe39a8b6a6477')
patches = ["xapian_pkgconfig.patch"]
patches = ["xapian_pkgconfig.patch",
"xapian_no_hardcode_lz.patch"]
class Builder(MakeBuilder):
configure_option = "--disable-sse --disable-backend-inmemory --disable-documentation"