X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2FConfig.x86-freebsd;h=a7533b62570d12ea0554aead51c2e9d5a0dc2b91;hb=26e8f33d8639e4de75e59e3aa30bbd7478d51a69;hp=65d2be52161539cb178faacbce44967829f38f99;hpb=b1150c0fd4792d9d0c9407bb3da5d8e1943514d0;p=sbcl.git diff --git a/src/runtime/Config.x86-freebsd b/src/runtime/Config.x86-freebsd index 65d2be5..a7533b6 100644 --- a/src/runtime/Config.x86-freebsd +++ b/src/runtime/Config.x86-freebsd @@ -18,3 +18,9 @@ ASSEM_SRC += ldso-stubs.S # dlopen() etc., which in turn depend on dynamic linking of the # runtime. LINKFLAGS += -dynamic -export-dynamic + +# use libthr (1:1 threading). libpthread (m:n threading) does not work. +ifdef LISP_FEATURE_SB_THREAD + #OS_LIBS += -lpthread + OS_LIBS += -lthr +endif