Don't link agains OpenGL libraries when it's not needed
This commit is contained in:
parent
e046b1bfdb
commit
fec7c62b17
@ -134,12 +134,8 @@ esac
|
|||||||
|
|
||||||
dnl Checks for libraries.
|
dnl Checks for libraries.
|
||||||
|
|
||||||
null_LIBS="$LIBS"
|
|
||||||
|
|
||||||
AC_SEARCH_LIBS(cos, m)
|
AC_SEARCH_LIBS(cos, m)
|
||||||
|
|
||||||
base_LIBS="$LIBS"
|
|
||||||
|
|
||||||
dnl Thread related checks
|
dnl Thread related checks
|
||||||
AC_CHECK_HEADER(pthread.h)
|
AC_CHECK_HEADER(pthread.h)
|
||||||
AC_CHECK_LIB(pthread, pthread_exit)
|
AC_CHECK_LIB(pthread, pthread_exit)
|
||||||
@ -188,6 +184,9 @@ else
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
base_LIBS="$LIBS"
|
||||||
|
LIBS=""
|
||||||
|
|
||||||
dnl check for OpenGL related libraries
|
dnl check for OpenGL related libraries
|
||||||
case "${host}" in
|
case "${host}" in
|
||||||
*-*-cygwin* | *-*-mingw32*)
|
*-*-cygwin* | *-*-mingw32*)
|
||||||
|
Loading…
Reference in New Issue
Block a user