I removed the -lpthread from api/Makefile.am.
Everything still builds on Scientific Linux.
-- David

On 17-Jan-2014 10:51 AM, Carl Christensen wrote:
OK, think I figured it out -- the problem is in the libboinc_api library -- in
the Makefile.am there's a reference in LDFLAGS to use -lpthread ---- which isn't
necessary on Android, but it seems to force all of my build systems libtools etc
to try and look for a (non-existing on Android) -lpthread.....

I'm sure other Android BOINC app makers will run into this, can the Makefile.am
be modified to take that out if Android ie "ifndef ARM_ANDROID" or whatever?

lib_LTLIBRARIES = libboinc_api.la libboinc_api_la_SOURCES = $(api_files)
libboinc_api_la_LDFLAGS = -L$(libdir) -rpath $(libdir) -version-number
$(LIBBOINC_VERSION) -lpthread _______________________________________________
boinc_dev mailing list [email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev To unsubscribe, visit
the above URL and (near bottom of page) enter your email address.

_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to