Otherwise configure script cannot find external libraries and headers
(such as readline).
Interresting, the CROSS_ENV part is definitively correct, but I'm not sure,
why you're getting this error and I don't.
Hmm... That's strange. I've just rebuilt my project with the latest
vanilla ptxdist snapshot and there is no error, libreadline is correctly
detected by sqlite.
But the bug is definitely present in version 2012.09.0, double-checked
that. It seems something has been changed elsewhere - I tried to
understand why it works now but failed. So I believe there is no need to
improve the patch any further.
--
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) \
This looks ok.
+ CPPFLAGS="$(CROSS_CPPFLAGS) \
With the latest changes to ptxdist CROSS_CPPFLAGS is now empty, so this is
not needed any more.
Michael
--
ptxdist mailing list
[email protected]