[Debian-med-packaging] New version of rapmap has cmake rule that links zlib statically
Andreas Tille
andreas at an3as.eu
Mon Oct 17 05:01:48 UTC 2016
Hi Afif,
On Sun, Oct 16, 2016 at 05:19:23PM -0700, Afif Elghraoui wrote:
> > I have commited new packaging stuff for rapmap. Either upstream has
> > tweaked cmake input or zlib-dev cmake has changed. In any case the
> > linker line now contains:
> >
> > -Wl,-Bstatic -lz
> >
> > which is just wrong. Any clue how to prevent static linking against
> > libz?
> >
>
> In my experience with this situation, I had to apply a patch to the
> appropriate upstream CMakeLists.txt like this:
>
>
> -TARGET_LINK_LIBRARIES(<target> zlibstatic)
> +TARGET_LINK_LIBRARIES(<target> z)
debian-med_git/rapmap(master) $ grep -R zlibstatic
debian-med_git/rapmap(master) $ grep -R TARGET_LINK_LIBRARIES
So these strings do not occure in the source code. Any other idea?
Thanks for the attempt to help anyway
Andreas.
--
http://fam-tille.de
More information about the Debian-med-packaging
mailing list