summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2000-03-09 09:09:14 +0000
committerXavier Leroy <xavier.leroy@inria.fr>2000-03-09 09:09:14 +0000
commit4aeb255c2d7b0735c13c73e0ccf85835c7c6098c (patch)
tree92cbe17aaea1d7aec53606316b2f79cc26bc4c91
parent36ec409dfa5b6ce24742802556ea902823b828d5 (diff)
Ajout PTHREAD_LINK
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2929 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rw-r--r--config/Makefile-templ7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/Makefile-templ b/config/Makefile-templ
index 5cad03b9e..afecf9969 100644
--- a/config/Makefile-templ
+++ b/config/Makefile-templ
@@ -216,6 +216,13 @@ OTHERLIBRARIES=unix str num threads graph dynlink labltk
# C implementation of these routines.
BIGNUM_ARCH=alpha
+### Link-time options to ocamlc or ocamlopt for linking with POSIX threads
+# Needed for the "systhreads" package
+# Usually:
+#PTHREAD_LINK=-cclib -lpthread
+# For Solaris:
+#PTHREAD_LINK=-cclib -lpthread -cclib -lposix4
+
### Location of the include directory containing the X11/*.h includes
# Needed for the "graph" and "labltk" packages
# Usually: