fixed #114
authorTyutyunkov Vyacheslav <tve@softmotions.com>
Wed, 4 Feb 2015 07:06:22 +0000 (13:06 +0600)
committerTyutyunkov Vyacheslav <tve@softmotions.com>
Wed, 4 Feb 2015 07:06:22 +0000 (13:06 +0600)
tcejdb/configure

index 73735c2..d0509b4 100755 (executable)
@@ -2193,7 +2193,7 @@ MYFORMATVER="1.0"
 
 # Targets
 MYHEADERFILES="tcutil.h tchdb.h tcbdb.h tcfdb.h tctdb.h tcadb.h ejdb.h ejdb_private.h bson.h myconf.h basedefs.h"
-MYLIBRARYFILES="libtcejdb.a"
+MYLIBRARYFILES=""
 
 MYLIBOBJFILES="tcutil.o tchdb.o tcbdb.o tcfdb.o tctdb.o tcadb.o myconf.o md5.o ejdb.o \
 bson.o numbers.o encoding.o utf8proc.o ejdbutl.o platform.o nxjson.o"
@@ -4457,6 +4457,10 @@ fi
       ;;
 esac
 
+if test "$enable_static" != "no"
+then
+MYLIBRARYFILES="$MYLIBRARYFILES libtcejdb.a"
+fi
 
 # Shared libraries
 if test "$enable_shared" != "no" && test "$enable_profile" != "yes"