Skip to content

Commit 3f959e3

Browse files
committed
opencl: Add tiff library needed by openclwrapper
openclwrapper calls function TIFFReadRGBAImageOriented which is provided by libtiff, so add that library to OPENCL_LIBS. This fixes a linker error (unresolved symbol) when opencl is enabled. Signed-off-by: Stefan Weil <sw@weilnetz.de>
1 parent 44e6e87 commit 3f959e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ AM_CONDITIONAL([OSX], false)
7777
AM_CONDITIONAL([GRAPHICS_DISABLED], false)
7878

7979
OPENCL_INC="/opt/AMDAPP/include"
80-
OPENCL_LIBS="-lOpenCL"
80+
OPENCL_LIBS="-lOpenCL -ltiff"
8181
#############################
8282
#
8383
# Platform specific setup

0 commit comments

Comments
 (0)