diff options
author | Alain Frisch <alain@frisch.fr> | 2007-11-12 17:19:48 +0000 |
---|---|---|
committer | Alain Frisch <alain@frisch.fr> | 2007-11-12 17:19:48 +0000 |
commit | 02654dc3b6cd4ff61fd50a449d5014b000a3c6b5 (patch) | |
tree | 0e0ba1eb6addc6d0e5b99f5c969944dda51a7e31 /otherlibs/systhreads | |
parent | 3f12bd653a03af0eb36bed9b0c5b75c3dde2d177 (diff) |
Do not build threads.cmxs: on some systems, it is needed to link the system thread library statically.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8511 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/systhreads')
-rw-r--r-- | otherlibs/systhreads/Makefile | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/otherlibs/systhreads/Makefile b/otherlibs/systhreads/Makefile index 1a247513c..2826668e2 100644 --- a/otherlibs/systhreads/Makefile +++ b/otherlibs/systhreads/Makefile @@ -29,7 +29,7 @@ GENFILES=thread.ml all: libthreads.a threads.cma -allopt: libthreadsnat.a threads.cmxa threads.$(CMXS) +allopt: libthreadsnat.a threads.cmxa libthreads.a: $(BYTECODE_C_OBJS) $(MKLIB) -o threads $(BYTECODE_C_OBJS) @@ -63,10 +63,6 @@ threads.cmxa: $(THREAD_OBJS:.cmo=.cmx) # modular to me this way. -- Alain -# Build threads.cmxs, even if unsafe -threads.cmxs: threads.cmxa - $(CAMLOPT) -shared -dlcode -o threads.cmxs -I . threads.cmxa -linkall - $(THREAD_OBJS:.cmo=.cmx): ../../ocamlopt thread.ml: thread_posix.ml @@ -93,7 +89,6 @@ installopt: cd $(LIBDIR); $(RANLIB) libthreadsnat.a cp $(THREAD_OBJS:.cmo=.cmx) threads.cmxa threads.a $(LIBDIR)/threads cd $(LIBDIR)/threads; $(RANLIB) threads.a - if test -f unix.cmxs; then cp unix.cmxs $(LIBDIR)/; fi .SUFFIXES: .ml .mli .cmo .cmi .cmx |