Commit ddde1657 authored by sof's avatar sof
Browse files

[project @ 2002-01-31 10:47:47 by sof]

Pass -lpthread to linker when using a 'threaded' RTS
parent fed216d7
......@@ -41,6 +41,10 @@ else
SRC_HC_OPTS += -syslib concurrent -syslib posix -syslib misc
endif
ifeq "$(GhcRtsThreaded)" "YES"
SRC_HC_OPTS +=-DTHREADED_RTS
endif
SRC_HC_OPTS += -DWANT_PRETTY
SRC_HC_OPTS += $(filter -D% -U%,$(GhcRtsCcOpts))
......
......@@ -82,6 +82,10 @@ package_details installing
#ifdef USING_LIBBFD
"bfd": "iberty": -- for debugging
#endif
#ifdef THREADED_RTS
"pthread" :
#endif
[],
include_dirs = if installing
then [ "$libdir/include"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment