From 4466458c80bf0e28650da070adb73f01e7581276 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 17 Jan 2014 11:23:17 -0800 Subject: [PATCH] remove -lpthread from api/Makefile.am; fix example_app build error --- api/Makefile.am | 2 +- samples/example_app/uc2.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/api/Makefile.am b/api/Makefile.am index 1339dd54bb..0f29de2e58 100644 --- a/api/Makefile.am +++ b/api/Makefile.am @@ -36,7 +36,7 @@ endif lib_LTLIBRARIES = libboinc_api.la libboinc_api_la_SOURCES = $(api_files) -libboinc_api_la_LDFLAGS = -L$(libdir) -rpath $(libdir) -version-number $(LIBBOINC_VERSION) -lpthread +libboinc_api_la_LDFLAGS = -L$(libdir) -rpath $(libdir) -version-number $(LIBBOINC_VERSION) if BUILD_GRAPHICS_API lib_LTLIBRARIES += libboinc_graphics2.la diff --git a/samples/example_app/uc2.cpp b/samples/example_app/uc2.cpp index 7486ee51e2..a87dc2731e 100644 --- a/samples/example_app/uc2.cpp +++ b/samples/example_app/uc2.cpp @@ -165,9 +165,8 @@ int main(int argc, char **argv) { exit(retval); } - fprintf(stderr, "%s app started; %s; CPU time %f, flags:%s%s%s%s%s%s\n", + fprintf(stderr, "%s app started; CPU time %f, flags:%s%s%s%s%s%s%s\n", boinc_msg_prefix(buf, sizeof(buf)), - uc2_dll_version(), cpu_time, early_exit?" early_exit":"", early_crash?" early_crash":"",