summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 552794faad..37421fd584 100755
--- a/configure
+++ b/configure
@@ -2701,11 +2701,11 @@ if test "$_svga" = auto ; then
int main(void) { return 0; }
EOF
_svga=no
- cc_check -lvgagl -lvga && _svga=yes
+ cc_check -lvgagl -lvga -lm && _svga=yes
fi
if test "$_svga" = yes ; then
_def_svga='#define HAVE_SVGALIB 1'
- _ld_svga='-lvgagl -lvga'
+ _ld_svga='-lvgagl -lvga -lm'
_vosrc="$_vosrc vo_svga.c"
_vomodules="svga $_vomodules"
else