Hi!

Please, any feedback on this. Did I do anything wrong?

--
Kirill

On 21.11.2012 02:07, Kirill Smirnov wrote:
Hi!

The attached patch correctly sets up CPPFLAGS variable for sqlite
package and contains a minor cosmetic fix.

Otherwise configure script cannot find external libraries and headers
(such as readline).

--
Kirill


> diff --git a/rules/sqlite.make b/rules/sqlite.make
> index 0ff4c86..25ff3b7 100644
> --- a/rules/sqlite.make
> +++ b/rules/sqlite.make
> @@ -34,12 +34,13 @@ SQLITE_LICENSE := public_domain
> # ----------------------------------------------------------------------------

>  SQLITE_CONF_ENV := \
> -  CPPFLAGS=" \
> +  $(CROSS_ENV) \
> +  CPPFLAGS="$(CROSS_CPPFLAGS) \
>    -DSQLITE_ENABLE_COLUMN_METADATA \
>    -DSQLITE_ENABLE_FTS3 \
>    -DSQLITE_ENABLE_RTREE=1 \
>    -DSQLITE_ENABLE_UNLOCK_NOTIFY \
> -  -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT=1\
> +  -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT=1 \
>    -DSQLITE_OMIT_LOOKASIDE=1 \
>    -DSQLITE_SECURE_DELETE \
>    -DSQLITE_SOUNDEX=1 \


--
ptxdist mailing list
[email protected]

Reply via email to