I thought I did that 6 months ago. For all concerned, there should never be a need for a direct reference to any library (other than ones being built) in Makefile.am.
On Fri, Jan 17, 2014 at 11:29 AM, David Anderson <da...@ssl.berkeley.edu>wrote: > 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 boinc_dev@ssl.berkeley.edu >> 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 > boinc_dev@ssl.berkeley.edu > 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 boinc_dev@ssl.berkeley.edu http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev To unsubscribe, visit the above URL and (near bottom of page) enter your email address.