SQLite does not depend on zlib, was: Re: [PATCH] Split sql drivers from lib-sql to plugins

Bernd Kuhls bernd.kuhls at t-online.de
Wed Apr 22 19:19:16 UTC 2015


Bernd Kuhls <bernd.kuhls at t-online.de> wrote in 
news:XnsA3DF68DCAEF69berndkuhlsPkbjNfxxIA at bernd-kuhls.de:

> Tomas Janousek <tjanouse at redhat.com> wrote in news:20070413132731.GA8281
> @redhat.com:
> 
>> -               SQL_LIBS="$SQL_LIBS -lsqlite3 -lz"
>> +               SQLITE_LIBS="$SQLITE_LIBS -lsqlite3 -lz"
> 
> Hi,
> 
> this patch fixes a build error during cross compilation to a system without 
> the libz target package:
> 
> --- dovecot-2.2.15.org/configure.ac     2014-10-25 05:57:08.000000000 +0200
> +++ dovecot-2.2.15/configure.ac 2014-11-08 10:06:23.015570150 +0100
> @@ -2293,7 +2293,7 @@
>  if test $want_sqlite != no; then
>         AC_CHECK_LIB(sqlite3, sqlite3_open, [
>                 AC_CHECK_HEADER(sqlite3.h, [
> -                       SQLITE_LIBS="$SQLITE_LIBS -lsqlite3 -lz"
> +                       SQLITE_LIBS="$SQLITE_LIBS -lsqlite3"
> 
>                         AC_DEFINE(HAVE_SQLITE,, Build with SQLite3 support)
>                         found_sql_drivers="$found_sql_drivers sqlite"
> 
> Regards, Bernd
> 
> 

ping ;)



More information about the dovecot mailing list