mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 07:11:41 +00:00
Use correct name for OpenGL library on OpenBSD by default.
This commit is contained in:
parent
5e330890fc
commit
bb1a342629
2 changed files with 7 additions and 0 deletions
|
@ -106,6 +106,8 @@ AC_ARG_WITH(gl-driver,
|
|||
if test "x$gl_driver" = xauto -o "x$gl_driver" = xyes; then
|
||||
if test "$SYSTYPE" = WIN32; then
|
||||
gl_driver="OPENGL32.DLL"
|
||||
elif test "$SYSTYPE" = OPENBSD; then
|
||||
gl_driver="libGL.so"
|
||||
else
|
||||
gl_driver="libGL.so.1"
|
||||
fi
|
||||
|
|
|
@ -93,6 +93,11 @@ case "${host}" in
|
|||
AC_MSG_RESULT([Win32 driver])
|
||||
WIN32_LIBS=' $(NET_LIBS)'
|
||||
;;
|
||||
*-openbsd*)
|
||||
SYSTYPE=OPENBSD
|
||||
AC_MSG_RESULT([OpenBSD driver])
|
||||
WIN32_LIBS=''
|
||||
;;
|
||||
*)
|
||||
SYSTYPE=POSIX
|
||||
AC_MSG_RESULT([default POSIX driver])
|
||||
|
|
Loading…
Reference in a new issue