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-0dff7051ff02master
parent
b3ee47fb23
commit
a64bf35f07
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue