Re: [FFmpeg-devel] [PATCH] libopenjpeg: do not define OPJ_STATIC for shared builds

2016-10-11 Thread Andreas Cadhalpun
On 11.10.2016 19:13, Hendrik Leppkes wrote: > On Tue, Oct 11, 2016 at 5:50 PM, Andreas Cadhalpun > wrote: >> Setting OPJ_STATIC when building shared libraries with openjpeg 2 causes >> the openjpeg symbols to have visibility hidden and the final linker step >> to fail due to undefined references.

Re: [FFmpeg-devel] [PATCH] libopenjpeg: do not define OPJ_STATIC for shared builds

2016-10-11 Thread Hendrik Leppkes
On Tue, Oct 11, 2016 at 5:50 PM, Andreas Cadhalpun wrote: > Setting OPJ_STATIC when building shared libraries with openjpeg 2 causes > the openjpeg symbols to have visibility hidden and the final linker step > to fail due to undefined references. Aren't these type of macros typically related to t

[FFmpeg-devel] [PATCH] libopenjpeg: do not define OPJ_STATIC for shared builds

2016-10-11 Thread Andreas Cadhalpun
Setting OPJ_STATIC when building shared libraries with openjpeg 2 causes the openjpeg symbols to have visibility hidden and the final linker step to fail due to undefined references. Signed-off-by: Andreas Cadhalpun --- libavcodec/libopenjpegdec.c | 3 +++ libavcodec/libopenjpegenc.c | 3 +++ 2