[Rivet] --no-as-needed only exists for ELF linkers

James Monk jmonk at cern.ch
Tue Jul 23 15:35:04 BST 2013


while we're on the subject of niggly little build snafus, I've noticed that the yaml-cpp lib path probably needs to be added to rivetenv.sh.in.  This is exactly the sort of thing we want to iron out for a 2.0 release, so I guess it's ok to add that to trunk this time!

cheers,

James


On 22 Jul 2013, at 21:54, Andy Buckley wrote:

> Just checking up on this... and thanks to hg blame I know it's Hendrik
> who added that flag ;-) What was the motivation for it? For all other
> flags we check them first via the configure script... do we really
> require --no-as-needed in plugin building on Linux?
> 
> Andy
> 
> 
> On 17/07/13 16:01, James Monk wrote:
>> Hi,
>> 
>> The linker flag --no-as-needed has been added to the rivet-buildplugin script recently.  As far as I know, this only exists on Linux, certainly it causes my linker to fail on OS X.  
>> 
>> Can we add a check for OS X as already occurs for the shared library flags, and revert to the old behaviour in that case?
>> 
>> cheers,
>> 
>> James
>> 
>> _______________________________________________
>> Rivet mailing list
>> Rivet at projects.hepforge.org
>> http://www.hepforge.org/lists/listinfo/rivet
>> 
> 
> 
> -- 
> Dr Andy Buckley, Royal Society University Research Fellow
> Particle Physics Expt Group, University of Edinburgh / PH Dept, CERN



More information about the Rivet mailing list