patch-lib_wx_configure_in 518 B

123456789101112131415
  1. $OpenBSD: patch-lib_wx_configure_in,v 1.1 2015/07/09 19:46:39 jasper Exp $
  2. Don't blindly discard library path for GL libs.
  3. --- lib/wx/configure.in.orig Thu Jan 23 17:47:46 2014
  4. +++ lib/wx/configure.in Thu Jul 2 13:53:30 2015
  5. @@ -235,6 +235,7 @@ dnl
  6. if test X"$host_os" != X"win32" ; then
  7. AC_CHECK_HEADERS([GL/gl.h], [],
  8. [AC_CHECK_HEADERS([OpenGL/gl.h])])
  9. + GL_LIBS="-L/usr/X11R6/lib $GL_LIBS"
  10. if test X"$ac_cv_header_GL_gl_h" != Xyes &&
  11. test X"$ac_cv_header_OpenGL_gl_h" != Xyes
  12. then