Skip to content

Commit

Permalink
opencl: Add tiff library needed by openclwrapper
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
stweil committed Oct 30, 2016
1 parent 44e6e87 commit 3f959e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Expand Up @@ -77,7 +77,7 @@ AM_CONDITIONAL([OSX], false)
AM_CONDITIONAL([GRAPHICS_DISABLED], false)

OPENCL_INC="/opt/AMDAPP/include"
OPENCL_LIBS="-lOpenCL"
OPENCL_LIBS="-lOpenCL -ltiff"
#############################
#
# Platform specific setup
Expand Down

0 comments on commit 3f959e3

Please sign in to comment.