[knot] ensure that builtin lmdb is not used
jvcelak
jvcelak at fedoraproject.org
Fri Feb 13 18:17:21 UTC 2015
commit 52c59a3fc64cb5dada0435bb80132d163bc88e7f
Author: Jan Vcelak <jvcelak at fedoraproject.org>
Date: Fri Feb 13 19:03:29 2015 +0100
ensure that builtin lmdb is not used
knot.spec | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/knot.spec b/knot.spec
index 3a0f9a7..a8b22aa 100644
--- a/knot.spec
+++ b/knot.spec
@@ -64,6 +64,11 @@ The package contains documentation for the Knot DNS server.
%prep
%setup -q
+# make sure embedded LMDB library is not used
+for file in lmdb.h lmdb.c midl.h midl.c; do
+ rm -fv "src/libknot/internal/$file"
+done
+
%build
# disable debug code (causes unused warnings)
CFLAGS="%{optflags} -DNDEBUG -Wno-unused"
More information about the scm-commits
mailing list