1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
? META
? Makefile
? config.log
? config.status
? doc
? foo
? t
? test.db
? test2.ml
Index: Makefile.in
===================================================================
RCS file: /cvsroot/ocaml-sqlite/ocaml-sqlite/Makefile.in,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile.in
--- Makefile.in 17 May 2003 14:32:39 -0000 1.1.1.1
+++ Makefile.in 8 Apr 2004 20:31:58 -0000
@@ -9,7 +9,9 @@
LIBS=@LIBS@
LDFLAGS=@LDFLAGS@
-MKLIBFLAGS=-oc sqlite_stubs -cclib -L.
+# -linkall: all users of this library must load all our modules;
+# in particular, we need sqlite.cmo to register some exceptions.
+MKLIBFLAGS=-oc sqlite_stubs -linkall
INSTALL=@INSTALL@
@@ -29,7 +31,7 @@
# install rebuilds sqlitetop to point to the findlib-managed dll and not the
# one in .
install: sqlite.cma sqlite.cmxa sqlitetop
- ocamlfind install sqlite META sqlite.cmi sqlite.mli sqlite.cma *.cmxa *.a *.cmx
+ ocamlfind install sqlite META sqlite.cmi sqlite.mli sqlite.cma *.cmxa *.a *.cmx *.so
ocamlfind ocamlmktop -o sqlitetop -package "sqlite" sqlite.cma
$(INSTALL) sqlitetop $(bindir)/sqlitetop
|