#15244 closed defect (fixed)

wxGTK: Using built-in libtiff may need to link to libjbig too

Reported by: dghart Owned by:
Priority: normal Milestone: 2.9.5
Component: build Version: stable-latest
Keywords: tiff libjbig Cc:
Blocked By: Blocking:
Patch: yes

Description

#14963 reported that, when wx was configured --with-libtiff=builtin in the presence of liblzma-dev, wx needed to link -llzma; otherwise programs linking to libwx_gtk2u_core-2.9 would get 'undefined reference' errors. Changeset 74033 fixed this.

I've now found an analogous situation with built-in libtiff if libjbig-dev is present. The attached patch fixes this in the same way.

Attachments (1)

patch.diff download (1.8 KB) - added by dghart 19 months ago.

Download all attachments as: .zip

Change History (2)

Changed 19 months ago by dghart

comment:1 Changed 19 months ago by VZ

  • Resolution set to fixed
  • Status changed from new to closed

(In [74153]) Link with libjbig when using built-in libtiff under Unix.

If libjbig is available, the built-in libtiff build process picks it up and
uses it, requiring all the code linking with libtiff to link with it too, so
add it to the list of the libraries in this case.

This is the same change as was already done for liblzma dependency in r74033,
see #14963.

Closes #15244.

Note: See TracTickets for help on using tickets.