[Debian-med-packaging] New version of rapmap has cmake rule that links zlib statically
Afif Elghraoui
afif at debian.org
Mon Oct 17 00:19:23 UTC 2016
Hi, Andreas,
على السبت 15 تشرين الأول 2016 06:55، كتب Andreas Tille:
> Hi,
>
> 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)
regards
Afif
--
Afif Elghraoui | عفيف الغراوي
http://afif.ghraoui.name
More information about the Debian-med-packaging
mailing list