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
master
Pierre Weis 2007-02-12 08:34:42 +00:00
parent b3ee47fb23
commit a64bf35f07
1 changed files with 1 additions and 1 deletions

View File

@ -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)