summaryrefslogtreecommitdiff
path: root/otherlibs
diff options
context:
space:
mode:
authorPierre Weis <Pierre.Weis@inria.fr>2007-02-12 08:34:42 +0000
committerPierre Weis <Pierre.Weis@inria.fr>2007-02-12 08:34:42 +0000
commita64bf35f074f4ae09f71fa3cd59f8fcee6dab45e (patch)
treec39c64446791b152220c26de43e5731fecb4f263 /otherlibs
parentb3ee47fb23f539e8ccc774a8cb8e62a69e552850 (diff)
downloadocaml-a64bf35f074f4ae09f71fa3cd59f8fcee6dab45e.tar.gz
Added a -cclib before the C thread library linking command. Otherwise ocamlc
gave the error ``unknown option pthread''. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7856 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs')
-rw-r--r--otherlibs/systhreads/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/systhreads/Makefile b/otherlibs/systhreads/Makefile
index 45d0e7ee19..52186d6e5b 100644
--- a/otherlibs/systhreads/Makefile
+++ b/otherlibs/systhreads/Makefile
@@ -50,7 +50,7 @@ posix_n.o: posix.c
threads.cma: $(THREAD_OBJS)
$(MKLIB) -ocamlc '$(CAMLC)' -o threads $(THREAD_OBJS) \
- -cclib -lunix $(PTHREAD_LINK)
+ -cclib -lunix -cclib "$(PTHREAD_LINK)"
# See remark above: force static linking of libthreadsnat.a
threads.cmxa: $(THREAD_OBJS:.cmo=.cmx)