Update build for Ubuntu 12.10. 12.04 seems to no longer compile
authorDave Watson <davejwatson@fb.com>
Mon, 22 Apr 2013 22:05:36 +0000 (15:05 -0700)
committerSara Golemon <sgolemon@fb.com>
Wed, 28 Aug 2013 21:30:11 +0000 (14:30 -0700)
Summary: Dave Watson put this in github a few months ago.

Test Plan: None

Reviewed By: delong.j@fb.com

FB internal diff: D912681

folly/test/Makefile.am

index 9e147d62d3b7229c2fe3cc7f33f2b8fe5524baeb..cf1c2b5c411c6abb7dad9a9b181a28cab4364947 100644 (file)
@@ -18,6 +18,7 @@ lib_LTLIBRARIES = libgtestmain.la libgtest.la
 
 libgtestmain_la_CPPFLAGS = -Igtest-1.6.0 -Igtest-1.6.0/src
 libgtestmain_la_SOURCES = gtest-1.6.0/src/gtest-all.cc gtest-1.6.0/src/gtest_main.cc
+libgtestmain_la_LIBADD = -lpthread
 
 libgtest_la_CPPFLAGS = -Igtest-1.6.0 -Igtest-1.6.0/src
 libgtest_la_SOURCES = gtest-1.6.0/src/gtest-all.cc