Index: Makefile.standalone |
diff --git a/Makefile.standalone b/Makefile.standalone |
index b6e7eb6a894e93aa848c84be12aff12654e79e8b..67968cbcc15d66e5bfec458ce7fe8b20e5e82293 100644 |
--- a/Makefile.standalone |
+++ b/Makefile.standalone |
@@ -133,7 +133,7 @@ make_symlink: $(OBJDIR)/llvm2ice |
# TODO(kschimpf): Fix python scripts to directly get build attributes |
# rather than generating $(OBJDIR)/llvm2ice.build_atts. |
$(OBJDIR)/llvm2ice: $(OBJS) |
- $(CXX) $(LDFLAGS) -o $@ $^ $(LLVM_LDFLAGS) -ldl \ |
+ $(CXX) $(LDFLAGS) -o $@ $^ $(LLVM_LDFLAGS) -ldl -lpthread \ |
-Wl,-rpath=$(abspath $(LIBCXX_INSTALL_PATH)/lib) |
# TODO: Be more precise than "*.h" here and elsewhere. |