Skip to content

Commit

Permalink
Add windows.h before GL/glu.h in glu.py to fix windows build errors #1
Browse files Browse the repository at this point in the history
  • Loading branch information
mfe committed Jan 7, 2013
1 parent 2765030 commit 4ae721a
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions autoconf/glu.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
from _external import *
from gl import *

glu = LibWithHeaderChecker(
'GLU' if not windows else 'GLU32',
['GL/glu.h'],
'c',
dependencies=[gl]
)

if windows:
glu = LibWithHeaderChecker('GLU32', ['windows.h','GL/glu.h'], 'c', dependencies=[gl])
else :
glu = LibWithHeaderChecker('GLU', ['GL/glu.h'], 'c', dependencies=[gl])

0 comments on commit 4ae721a

Please sign in to comment.