diff options
author | David Robillard <d@drobilla.net> | 2014-08-28 22:13:17 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-08-28 22:13:17 +0000 |
commit | dd9b6fe61373e0f1ff0015a2d6b01360897fa8fc (patch) | |
tree | ca1e01e0e33ebda96c904b8753742f8547e2f14a /wscript | |
parent | d0c878fe0e496083a1e892795c23a1ac939714a9 (diff) | |
download | pugl-dd9b6fe61373e0f1ff0015a2d6b01360897fa8fc.tar.gz pugl-dd9b6fe61373e0f1ff0015a2d6b01360897fa8fc.tar.bz2 pugl-dd9b6fe61373e0f1ff0015a2d6b01360897fa8fc.zip |
Fix compilation on Windows.
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -54,13 +54,9 @@ def configure(conf): autowaf.display_header('Pugl Configuration') if not Options.options.no_gl: - conf.check(function_name = 'glLoadIdentity', - header_name = 'GL/gl.h', - define_name = 'HAVE_GL', - lib = ['GL'], - mandatory = False) - if conf.is_defined('HAVE_GL'): - autowaf.define(conf, 'PUGL_HAVE_GL', 1) + # TODO: Portable check for OpenGL + conf.define('HAVE_GL', 1) + autowaf.define(conf, 'PUGL_HAVE_GL', 1) if not Options.options.no_cairo: autowaf.check_pkg(conf, 'cairo', |