<div dir="ltr"><div dir="ltr">On Tue, 6 Aug 2019 at 21:38, Jason Wessel <<a href="mailto:jason.wessel@windriver.com">jason.wessel@windriver.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF"><br><p>Sqlite3 doesn't have a an explicit disable. It has the typical
autoconf check for a header/library. From <a href="http://configure.ac" target="_blank">configure.ac</a>:</p>
<p><br>
</p>
<p>AC_CHECK_HEADERS(zlib.h,[<br>
AC_SEARCH_LIBS(deflate,z,[BUILD_CFLAGS="$BUILD_CFLAGS
-DSQLITE_HAVE_ZLIB"])<br>
])<br>
<br>
</p>
<p>This means it would need to be patched if you want to make it a
pkgconfig option, or play games with the configure cache
values... I chose zlib as a default dependency because it was the
easiest to implement. If we really want to make it not build with
zlib or build it conditionally, it is certainly possible. Is that
what is needed to get this patch accepted? <br>
</p></div></blockquote><div><br></div><div>I'd say if you adjust the patch to work for both native and target variants and always build with zlib, that should be fine.</div><div><br></div><div>Alex<br></div></div></div>