summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2012-12-19 10:43:14 +0200
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-06-11 17:48:02 +0300
commit8d333f946e56d813995a6640c6f3256bf2e95dfe (patch)
tree489c8e03554ec265f6d43c23be22daf5a08ec6f2 /lib
parent09b68a64a6e99f0cfb9af4b57eedb0390762af57 (diff)
downloadlibrpm-tizen-8d333f946e56d813995a6640c6f3256bf2e95dfe.tar.gz
librpm-tizen-8d333f946e56d813995a6640c6f3256bf2e95dfe.tar.bz2
librpm-tizen-8d333f946e56d813995a6640c6f3256bf2e95dfe.zip
Enable building using --with-external-db
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/backend/dbconfig.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/backend/dbconfig.c b/lib/backend/dbconfig.c
index fe7c01e81..446be13f9 100644
--- a/lib/backend/dbconfig.c
+++ b/lib/backend/dbconfig.c
@@ -71,8 +71,10 @@ static const struct poptOption rdbOptions[] = {
NULL, NULL },
{ "lockdbfd", 0,POPT_ARG_NONE, &staticdbi.dbi_lockdbfd, 0,
NULL, NULL },
+#ifndef WITH_EXTERNAL_DB
{ "nofsync", 0,POPT_BIT_SET, &staticdbi.dbi_oflags, DB_NOFSYNC,
NULL, NULL },
+#endif
POPT_TABLEEND
};