diff --git a/libs/js/configure.ac b/libs/js/configure.ac index d13ed9cc06..98fdbe985b 100644 --- a/libs/js/configure.ac +++ b/libs/js/configure.ac @@ -35,7 +35,7 @@ AC_SUBST(JS_VERSION) CFLAGS="$CFLAGS $CONFIGURE_CFLAGS" CXXFLAGS="$CXXFLAGS $CONFIGURE_CXXFLAGS" -LDFLAGS="$LDFLAGS $CONFIGURE_LDFLAGS" +LDFLAGS="$LDFLAGS $CONFIGURE_LDFLAGS -lm" AC_CANONICAL_BUILD AC_CANONICAL_HOST