2
0
Fork 0

[waf] Add new *_lua.c files

personal/stbuehler/wip
Thomas Porzelt 2009-09-13 21:54:38 +02:00
parent 659ebfdd16
commit a94fee7b76
4 changed files with 14 additions and 3 deletions

View File

@ -10,7 +10,6 @@ License and Copyright: see COPYING file
import Options, sys, Utils
def configure(conf):
opts = Options.options
pass

View File

@ -62,6 +62,16 @@ def build(bld):
condition_lua.c
config_lua.c
value_lua.c
chunk_lua.c
connection_lua.c
core_lua.c
environment_lua.c
http_headers_lua.c
physical_lua.c
request_lua.c
response_lua.c
virtualrequest_lua.c
'''
libcommon = bld.new_task_gen(

View File

@ -17,7 +17,10 @@ def lighty_mod(bld, target, src, uselib = []):
uselib = ['glib', 'gthread', 'gmodule', 'ev', 'lighty_mod'] + uselib,
uselib_local = ['common'],
includes = ['#/include/'],
target = target,)
target = target)
if sys.platform == 'darwin':
mod.env['shlib_PATTERN'] = 'lib%s.so'
def configure(conf):

View File

@ -67,7 +67,6 @@ def configure(conf):
conf.env['LINKFLAGS_lighty_mod'] += [ '-module', '-avoid-version', '-W,l-no-undefined' ]
else:
# OSX aka darwin needs special treatment
conf.env['shlib_PATTERN'] = 'lib%s.so'
conf.env['LINKFLAGS'] += ['-flat_namespace']
conf.env['LINKFLAGS_lighty_mod'] += ['-undefined', 'dynamic_lookup']