#1
authoradam <anton@adamansky.com>
Mon, 5 Nov 2012 16:32:21 +0000 (23:32 +0700)
committeradam <anton@adamansky.com>
Mon, 5 Nov 2012 16:32:21 +0000 (23:32 +0700)
README.md
binding.gyp
tcejdb/testejdb/Makefile

index 0790835..6867fab 100644 (file)
--- a/README.md
+++ b/README.md
@@ -25,6 +25,7 @@ One snippet intro
 ---------------------------------
 ```JavaScript
 var EJDB = require("ejdb");
+//Open zoo DB
 var jb = EJDB.open("zoo", EJDB.DEFAULT_OPEN_MODE | EJDB.JBOTRUNC);
 
 var parrot1 = {
@@ -66,7 +67,7 @@ jb.save("parrots", [parrot1, parrot2], function(err, oids) {
                     console.log(cursor.field("name") + " likes toys!");
                 }
                 cursor.close(); //It's not mandatory to close cursor explicitly
-                jb.close(); //Close database
+                jb.close(); //Close the database
             });
 });
 ```
@@ -75,6 +76,7 @@ Installation
 --------------------------------
 **System libraries:**
 
+* g++
 * cunit
 * zlib
 
index 4801c14..25f658c 100644 (file)
@@ -29,7 +29,7 @@
                     '-L../tcejdb',
                     '-Wl,-Bstatic -ltcejdb',
                     '-Wl,-Bdynamic',
-                    '-lbz2 -lz -lrt -lpthread -lm -lc'
+                    '-lz -lrt -lpthread -lm -lc'
                 ]
             }],
         ],
index c412640..f3d54c6 100644 (file)
@@ -4,7 +4,7 @@ CPPFLAGS = -I. -I.. -DDEBUG -D_DEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS
 CFLAGS = -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O0
 LDFLAGS = -L. -L..
 CMDLDFLAGS =
-LIBS = -lbz2 -lz -lrt -lpthread -lm -lc -lcunit
+LIBS = -lz -lrt -lpthread -lm -lc -lcunit
 RUNENV = LD_LIBRARY_PATH=.:..
 
 TESTS = t1 t2 t3