openjpeg: fix static linking of liblcms2
authorPeter Seiderer <ps.report@gmx.net>
Fri, 11 Nov 2016 22:54:11 +0000 (23:54 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 13 Nov 2016 13:29:57 +0000 (14:29 +0100)
commit6378194f3abaf540e149c22e18e202dd724af835
tree075a911c6e92ebe0b11f17862105e974489c08cd
parent70030101e16d79683051ac04e206dc0cfba48f2a
openjpeg: fix static linking of liblcms2

Fixes [1]:

  .../host/usr/bfin-buildroot-uclinux-uclibc/sysroot/usr/lib/liblcms2.a(cmsplugin.o): In function `_cmsDeleteContext':
  cmsplugin.c:(.text+0x1c2): undefined reference to `_pthread_mutex_lock'
  cmsplugin.c:(.text+0x1f6): undefined reference to `_pthread_mutex_unlock'

http://autobuild.buildroot.net/results/5ce/5cee20afd8bef5268832cddcb3a5270746be7a57

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/openjpeg/0002-thirdparty-lcms2-append-flags-found-by-pkg-config-if.patch [new file with mode: 0644]