Don't use both -framework OpenGL and -lGL

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2008-05-31 05:44:14 +00:00
parent 444c36355c
commit e55016647a
2 changed files with 5 additions and 1 deletions

View File

@@ -4189,6 +4189,8 @@ if test "$wxUSE_OPENGL" = "yes"; then
OPENGL_LIBS="-framework OpenGL -framework AGL"
elif test "$wxUSE_MSW" = 1; then
OPENGL_LIBS="-lopengl32 -lglu32"
elif test "$USE_DARWIN" = 1; then
OPENGL_LIBS=""
else
dnl adjust CPPFLAGS to include GL/gl.h location if necessary
dnl (/opt/graphics/OpenGL is for HP-UX systems, bug 925307)