Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't force to link against tcmalloc.

  • Loading branch information...
commit fa44a0e454ca7447a641090aecaf1d769c9dcfd7 1 parent 5832674
@mfp authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/OMakefile
View
4 src/OMakefile
@@ -30,7 +30,7 @@ section
leveldb.cma dllcamlleveldb.so: leveldb_stubs.o levelDB.cmo $(CUSTOM_LEVELDB_PIC_OBJS)
ocamlmklib \
- -oc camlleveldb -o leveldb -ltcmalloc -lsnappy \
+ -oc camlleveldb -o leveldb -lsnappy \
$(CUSTOM_LEVELDB_PIC_OBJS) leveldb_stubs.o levelDB.cmo
foreach(obj, $(CUSTOM_LEVELDB_OBJS)):
@@ -39,7 +39,7 @@ section
leveldb.a leveldb.cmxa libcamlleveldb.a: \
leveldb_stubs.o levelDB.cmx levelDB.cmo $(LEVELDB_A) $(CUSTOM_LEVELDB_OBJS)
- ocamlopt -a -o leveldb.cmxa -cclib -ltcmalloc -cclib -lsnappy -cclib -lcamlleveldb levelDB.cmx
+ ocamlopt -a -o leveldb.cmxa -cclib -lsnappy -cclib -lcamlleveldb levelDB.cmx
ar rc libcamlleveldb.a $(CUSTOM_LEVELDB_OBJS) leveldb_stubs.o
ranlib libcamlleveldb.a
Please sign in to comment.
Something went wrong with that request. Please try again.