I have built boost for the android on both windows and osx and am running into an issue with boost library names. On windows boost adds a number of specifiers to the library names, such as libboost_filesystem-gcc-mt-s-1_46.a however on osx it omits all the additional information and is just: libboost_filesystem.a.
The problem now is in my Android.mk file I need to link to the lib yet the names are different for each platform. I am looking for one of two solutions the first: is there a way to tell boost to drop the additional specifiers and just use the format you are seeing here for osx (regardless of what platform the libs were built on) or two: is there a way to determine in my Android.mk if the build environment is windows? I would prefer a solution to #1 however either one would get me going at this point.
Thanks!
From the
bjam --helplisting:It sounds like you want to build with either
--layout=taggedor--layout=systemon both platforms, so the resulting filenames are consistent.