[Debian-med-packaging] New version of rapmap has cmake rule that links zlib statically

Afif Elghraoui afif at debian.org
Mon Oct 17 09:12:30 UTC 2016



على الأحد 16 تشرين الأول 2016 ‫22:01، كتب Andreas Tille:
>> 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?
> 

Not really. Looking through the top-level CMakeLists.txt, the following
looks problematic:

## Prefer static to dynamic libraries
SET(CMAKE_FIND_LIBRARY_SUFFIXES .a ${CMAKE_FIND_LIBRARY_SUFFIXES})

Although I'm admittedly not very good at cmake to be sure this is the
problem.

regards
Afif

-- 
Afif Elghraoui | عفيف الغراوي
http://afif.ghraoui.name



More information about the Debian-med-packaging mailing list