[Mapguide-trac] [mapguide-trac] #2820: CMake: Don't link libjpeg in MgRenderers
MapGuide Open Source
trac_mapguide at osgeo.org
Thu Sep 10 11:13:39 PDT 2020
#2820: CMake: Don't link libjpeg in MgRenderers
----------------------------+----------------------
Reporter: jng | Owner: jng
Type: defect | Status: assigned
Priority: low | Milestone: 4.0
Component: Build System | Version:
Severity: trivial | Keywords:
External ID: |
----------------------------+----------------------
I saw this interesting message in making the deb packages:
```
dpkg-shlibdeps: warning: package could avoid a useless dependency if
/tmp/work/build_area/mapguide/mg_deb/debian/mapguidecommon/usr/local/mapguideopensource-4.0.0/lib64/libMgRenderers.so
/tmp/work/build_area/mapguide/mg_deb/debian/mapguidecommon/usr/local/mapguideopensource-4.0.0/lib64/libMgRenderers-4.0.0.so
were not linked against libjpeg.so.8 (they use none of the library's
symbols)
```
If we're linking to libjpeg, we can remove it. If MgRenderers was the only
one trying to link to libjpeg, we can also stop finding it as well
--
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/2820>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list