Commit 4615e29c authored by Hidenori Takeshima's avatar Hidenori Takeshima Committed by Alexandre Julliard

If system doesn't have OpenGL, don't refer to libopengl32.so.

parent 32c8934d
......@@ -86,7 +86,7 @@ LINTS = $(C_SRCS:.c=.ln)
X_DLLS = \
ddraw \
opengl32 \
@OPENGL32_DLL@ \
x11drv
DLLS = \
......
......@@ -128,6 +128,8 @@ AC_SUBST(XFILES)
XFILES=""
AC_SUBST(OPENGLFILES)
OPENGLFILES=""
AC_SUBST(OPENGL32_DLL)
OPENGL32_DLL=""
AC_SUBST(DGA_SRCS)
DGA_SRCS=""
AC_SUBST(DGA2_SRCS)
......@@ -270,6 +272,7 @@ then
if test $ac_cv_lib_GL_glXGetProcAddressARB = "yes"
then
AC_DEFINE(HAVE_OPENGL)
OPENGL32_DLL=opengl32
OPENGLFILES='$(OPENGLFILES)'
fi
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment