[CMake] linking static libs into shared libs on Linux

Steve Borho steve at borho.org
Wed Jul 8 14:37:32 EDT 2015


On 07/08, Dan Kegel wrote:
> So maybe the yasm source needs to have a keyword or two
> added to select PIC addressing mode?
> 
> Random googling finds suggestions at
> http://cvs.tortall.net/pipermail/bug-yasm/2011-October/000086.html

Thanks for all the help. Upon further debugging with 'make VERBOSE=1' I
discovered that when multilib was adding its extra link path it was
overwriting the linux link flags instead of appending to them.  There
was a one-line fix for it.

Cheers

-- 
Steve Borho


More information about the CMake mailing list