ncurses in build.py

This commit is contained in:
Kevin Lange 2013-04-13 17:35:20 -07:00
parent 7a6e193b6a
commit f76616d06e
2 changed files with 12 additions and 0 deletions

View File

@ -30,6 +30,7 @@ class CCompiler(object):
'<ft2build.h>': ('freetype2', '-lfreetype', []), '<ft2build.h>': ('freetype2', '-lfreetype', []),
'<pixman.h>': ('pixman-1', '-lpixman-1', []), '<pixman.h>': ('pixman-1', '-lpixman-1', []),
'<GL/osmesa.h>': (None, '-lOSMesa', []), '<GL/osmesa.h>': (None, '-lOSMesa', []),
'<ncurses.h>': ('ncurses', '-lncurses', []),
'<mpeg2.h>': ('mpeg2dec', '-lmpeg2', []), '<mpeg2.h>': ('mpeg2dec', '-lmpeg2', []),
'<mpeg2convert.h>': (None, '-lmpeg2convert', ['<mpeg2.h>']), '<mpeg2convert.h>': (None, '-lmpeg2convert', ['<mpeg2.h>']),
'<zlib.h>': (None, '-lz', ['<math.h>']), '<zlib.h>': (None, '-lz', ['<math.h>']),

View File

@ -0,0 +1,11 @@
#include <ncurses.h>
int main() {
initscr();
printw("Hello World !!!");
refresh();
getch();
endwin();
return 0;
}