Opened 4 years ago

Closed 4 months ago

#2820 closed defect (fixed)

CMake: Don't link libjpeg in MgRenderers

Reported by: jng Owned by: jng
Priority: low Milestone: 4.0
Component: Build System Version:
Severity: trivial Keywords:
Cc: External ID:

Description (last modified by jng)

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

Change History (2)

comment:1 by jng, 4 years ago

Description: modified (diff)

comment:2 by jng, 4 months ago

Resolution: fixed
Status: assignedclosed

In 10098:

Don't link libjpeg in MgRenderers. It doesn't use anything from this library. Fixes #2820

Note: See TracTickets for help on using tickets.