about summary refs log tree commit diff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index a9cea952e6..af45f4f2e7 100755
--- a/configure
+++ b/configure
@@ -3147,7 +3147,7 @@ CFLAGS="$CFLAGS $libgd_include"
 old_LDFLAGS="$LDFLAGS"
 LDFLAGS="$LDFLAGS $libgd_ldflags"
 old_LIBS="$LIBS"
-LIBS="$LIBS -lgd -lpng -lz"
+LIBS="$LIBS -lgd -lpng -lz -lm"
 cat > conftest.$ac_ext <<EOF
 #line 3153 "configure"
 #include "confdefs.h"