X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2FConfig.x86-linux;h=c9b978141d5b71ab6b0a033e17ea427bd0f1a3cb;hb=5e92e9ed61903658015c2a75c79a32ad41dbd29d;hp=80ba64e1a24eb5775689223f00781108e44efa5b;hpb=d8e682fdfb7e8ba067e15aea0f3d1f8d37ca9eb1;p=sbcl.git diff --git a/src/runtime/Config.x86-linux b/src/runtime/Config.x86-linux index 80ba64e..c9b9781 100644 --- a/src/runtime/Config.x86-linux +++ b/src/runtime/Config.x86-linux @@ -28,7 +28,11 @@ OS_SRC = linux-os.c x86-linux-os.c # interface, though.:-| As far as I (WHN 2002-05-19) know, no one is # working on one and it would be a nice thing to have.) LINKFLAGS += -Wl,--export-dynamic -OS_LIBS = -lpthread -ldl +OS_LIBS = -ldl + +OS_LIBS += $(shell if grep LISP_FEATURE_SB_THREAD genesis/config.h \ + > /dev/null 2>&1; \ + then echo "-lpthread"; fi) GC_SRC = gencgc.c