French translation update - fixes
[ardour.git] / libs / lua / wscript
1 #!/usr/bin/env python
2 from waflib.extras import autowaf as autowaf
3 from waflib import TaskGen
4 import os
5 import sys
6
7 # Variables for 'waf dist'
8 APPNAME = 'liblua'
9 VERSION = "3.5.1"
10 I18N_PACKAGE = 'liblua'
11
12 # Mandatory variables
13 top = '.'
14 out = 'build'
15
16 def options(opt):
17     autowaf.set_options(opt)
18
19 def configure(conf):
20     conf.load('compiler_c')
21     autowaf.configure(conf)
22
23 def build(bld):
24     obj=bld.stlib (source = ['lua.cc', 'luastate.cc'],
25                cflags = [ '-fPIC' ],
26                cxxflags = [ '-fPIC' ],
27                includes = ['.'],
28                export_includes = ['.'],
29                target = 'liblua',
30                uselib = [ 'SIGCPP', 'DL' ]
31                )
32     autowaf.ensure_visible_symbols (obj, True)
33
34 def shutdown():
35     autowaf.shutdown()