From 5a7db442286a1852a41f510e3600041b680d594e Mon Sep 17 00:00:00 2001 From: Olivier Benz Date: Mon, 29 Jan 2024 10:46:12 +0100 Subject: [PATCH] Fix libtiff test configuration - Close https://github.com/nx10/unigd/issues/16 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 3ff7057..7ac28a8 100755 --- a/configure +++ b/configure @@ -114,7 +114,7 @@ CXXFLAGS=`${R_HOME}/bin/R CMD config CXXFLAGS` CPPFLAGS=`${R_HOME}/bin/R CMD config CPPFLAGS` # Test configuration -${CXX} ${CPPFLAGS} ${PKG_LIBTIFF_CFLAGS} ${CFLAGS} ${PKG_LIBTIFF_TEST_FILE} -o tmp_libtiff_test >/dev/null 2>configure.log +${CXX} ${CPPFLAGS} ${PKG_LIBTIFF_CFLAGS} ${CFLAGS} ${PKG_LIBTIFF_TEST_FILE} ${PKG_LIBTIFF_LIBS} -o tmp_libtiff_test >/dev/null 2>configure.log # Customize the error if [ $? -ne 0 ]; then echo "------------------------------[ WARNING ]---------------------------"