remove -lpthread from api/Makefile.am; fix example_app build error

This commit is contained in:
David Anderson 2014-01-17 11:23:17 -08:00
parent 69138ab679
commit 4466458c80
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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":"",