From e0bfd6744c82dd0fd0fea9aa80fb0aafc361c327 Mon Sep 17 00:00:00 2001 From: Raptor Engineering Development Team Date: Thu, 25 Apr 2019 10:12:56 +0000 Subject: Fix cross compiling --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 7179ceb..5f9b16f 100755 --- a/configure +++ b/configure @@ -101,7 +101,7 @@ EOF echo -n "checking for libjpeg presence... " if [ "$jpeg" != "disabled" ]; then jpeg="no" -cc 2>>./config.log >>./config.log -o \$\$~test \$\$~test.c -ljpeg $libs +${CC} 2>>./config.log >>./config.log -o \$\$~test \$\$~test.c -ljpeg $libs if [ -e \$\$~test ]; then libs="-ljpeg $libs" ; jpeg="yes" fi @@ -112,7 +112,7 @@ echo "libjpeg: $jpeg" >> ./config.log echo -n "checking for libpng presence... " if [ "$png" != "disabled" ]; then png="no" -cc 2>>./config.log >>./config.log -o \$\$~test \$\$~test.c -lpng $libs +${CC} 2>>./config.log >>./config.log -o \$\$~test \$\$~test.c -lpng $libs if [ -e \$\$~test ]; then libs="-lpng $libs" ; png="yes" fi -- cgit v1.2.1