Index: lib/Makefile =================================================================== --- lib/Makefile +++ lib/Makefile @@ -177,7 +177,7 @@ # Don't allow unresolved symbols. LLVMLibsOptions += -Wl,--no-undefined # Link in python - LLVMLibsOptions += $(PYTHON_BUILD_FLAGS) -lrt -ledit -lncurses -lpanel + LLVMLibsOptions += $(PYTHON_BUILD_FLAGS) -lrt -ledit -lncurses -lpanel -lpthread LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT) endif @@ -189,5 +189,5 @@ LLVMLibsOptions += -Wl,--allow-shlib-undefined # Link in python LLVMLibsOptions += $(PYTHON_BUILD_FLAGS) -lrt -L/usr/local/lib -lexecinfo \ - -ledit -lncurses -lpanel + -ledit -lncurses -lpanel -lpthread endif