package/pseudo: needs sqlite
authorYann E. MORIN <yann.morin.1998@free.fr>
Thu, 3 Nov 2016 22:21:05 +0000 (23:21 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 3 Nov 2016 22:27:21 +0000 (23:27 +0100)
pseudo uses sqlite to store its state.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Thomas: add comment about --libdir.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/pseudo/pseudo.mk

index 314fa820c5fc8c699004d89aa02dadc9d192ef4c..2137a37806ee757a069431202f92bb457759b200 100644 (file)
@@ -12,4 +12,12 @@ PSEUDO_SITE_METHOD = git
 PSEUDO_LICENSE = LGPLv2.1
 PSEUDO_LICENSE_FILES = COPYING
 
+HOST_PSEUDO_DEPENDENCIES = host-sqlite
+
+# configure script is not generated by autoconf, so passing --libdir
+# is necessary, even if the infrastructure passes --prefix already.
+HOST_PSEUDO_CONF_OPTS = \
+       --libdir=$(HOST_DIR)/usr/lib \
+       --with-sqlite=$(HOST_DIR)/usr
+
 $(eval $(host-autotools-package))