nsf / termbox

Library for writing text-based user interfaces
http://code.google.com/p/termbox
MIT License
1.96k stars 185 forks source link

Please add 'gnu_dirs' support #38

Closed remicollet closed 10 years ago

remicollet commented 10 years ago

We need to be able to use --libdir option to waf configure.

In wscript, please add

--- wscript.rpm 2014-09-12 08:37:18.266568098 +0200
+++ wscript 2014-09-12 08:37:23.268590579 +0200
@@ -7,6 +7,7 @@
 import sys

 def options(opt):
+   opt.load('gnu_dirs')
    opt.load('compiler_c')
    opt.add_option(
        '--debug',
@@ -17,6 +18,7 @@

 def configure(conf):
    conf.env.VERSION = VERSION
+   conf.load('gnu_dirs')
    conf.load('compiler_c')
    conf.env.append_unique('CFLAGS', ['-std=gnu99', '-Wall', '-Wextra'])
    if conf.options.debug:
remicollet commented 10 years ago

Thanks