Look at jam-files/sanity.jam line 173, read the comment (the appropriate value from boost.jam is REGEX_DYN_LINK), add a line like the ones that follow, and then use it as a dependency by copying what moses-cmd/Jamfile does.
On 08/10/13 19:04, Hieu Hoang wrote: > try adding the line > external-lib boost_regex ; > to Jamroot. I'm not certain but it seems when the other libraries are > specified > > On 10 August 2013 01:58, jian zhang <jianzhan...@gmail.com > <mailto:jianzhan...@gmail.com>> wrote: > > Hi, > > My stateless XXX feature needs to use libboost_regex.so library, > how/where can I modify the compile configuration to add the > -lboost_regex option? > > > Thanks, > > Jian Zhang > > _______________________________________________ > Moses-support mailing list > Moses-support@mit.edu <mailto:Moses-support@mit.edu> > http://mailman.mit.edu/mailman/listinfo/moses-support > > > > > -- > Hieu Hoang > Research Associate > University of Edinburgh > http://www.hoang.co.uk/hieu > > > > _______________________________________________ > Moses-support mailing list > Moses-support@mit.edu > http://mailman.mit.edu/mailman/listinfo/moses-support > _______________________________________________ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support