LMDB: fix build. Bug 2812
[exim.git] / src / scripts / lookups-Makefile
index db2d184a731a6995e89ee0c281893a41f5c8da6f..1082f594eb9a601e47d70522a88cf3523873d442 100755 (executable)
@@ -160,7 +160,7 @@ exec > "$target"
 sed -n "1,/$tag_marker/p" < "$input"
 
 for name_mod in \
-    CDB DBM:dbmdb DNSDB DSEARCH IBASE LSEARCH MYSQL NIS NISPLUS ORACLE \
+    CDB DBM:dbmdb DNSDB DSEARCH IBASE JSON LMDB LSEARCH MYSQL NIS NISPLUS ORACLE \
     PASSWD PGSQL REDIS SQLITE TESTDB WHOSON
 do
   emit_module_rule $name_mod
@@ -177,10 +177,8 @@ fi
 
 OBJ="${OBJ} spf.o"
 
-if want_experimental LMDB
-then
-  OBJ="${OBJ} lmdb.o"
-fi
+# readsock is always wanted as it implements the ${readsock } expansion
+OBJ="${OBJ} readsock.o"
 
 echo "MODS = $MODS"
 echo "OBJ = $OBJ"