wscript: build&install libalsapid.so
This commit is contained in:
parent
683b8f4d4f
commit
9beaac7cf6
24
wscript
24
wscript
|
@ -112,6 +112,8 @@ def configure(conf):
|
||||||
conf.check_tool('python')
|
conf.check_tool('python')
|
||||||
#conf.check_tool('ParallelDebug')
|
#conf.check_tool('ParallelDebug')
|
||||||
|
|
||||||
|
conf.env['LIB_DL'] = ['dl']
|
||||||
|
|
||||||
conf.check_cfg(
|
conf.check_cfg(
|
||||||
package = 'jack',
|
package = 'jack',
|
||||||
mandatory = True,
|
mandatory = True,
|
||||||
|
@ -461,6 +463,18 @@ def build(bld):
|
||||||
|
|
||||||
create_service_taskgen(bld, DBUS_NAME_BASE + '.conf.service', DBUS_NAME_BASE + ".conf", ladiconfd.target)
|
create_service_taskgen(bld, DBUS_NAME_BASE + '.conf.service', DBUS_NAME_BASE + ".conf", ladiconfd.target)
|
||||||
|
|
||||||
|
#####################################################
|
||||||
|
# alsapid
|
||||||
|
alsapid = bld.new_task_gen('cc', 'shlib')
|
||||||
|
#alsapid.features.append('kill_soname')
|
||||||
|
alsapid.target = 'alsapid'
|
||||||
|
alsapid.uselib = 'DL'
|
||||||
|
#alsapid.vnum = "2.0.0"
|
||||||
|
alsapid.source = [os.path.join("alsapid", 'lib.c'), os.path.join("alsapid", "helper.c")]
|
||||||
|
#alsapid.env.append_value("LINKFLAGS", "-Wl,--version-script=../alsapid/asound.versions")
|
||||||
|
#alsapid.env.append_value("LINKFLAGS", "-ldl")
|
||||||
|
#alsapid.env.append_value("LINKFLAGS", "-fPIC")
|
||||||
|
|
||||||
#####################################################
|
#####################################################
|
||||||
# liblash
|
# liblash
|
||||||
if bld.env['BUILD_LIBLASH']:
|
if bld.env['BUILD_LIBLASH']:
|
||||||
|
@ -721,3 +735,13 @@ def refill_task_list(self):
|
||||||
old_refill(self)
|
old_refill(self)
|
||||||
self.outstanding.sort(cmp=lambda a, b: cmp(b.__class__.__name__, a.__class__.__name__))
|
self.outstanding.sort(cmp=lambda a, b: cmp(b.__class__.__name__, a.__class__.__name__))
|
||||||
Runner.Parallel.refill_task_list = refill_task_list
|
Runner.Parallel.refill_task_list = refill_task_list
|
||||||
|
|
||||||
|
#from TaskGen import feature, after
|
||||||
|
#@feature('kill_soname')
|
||||||
|
#@after('apply_vum')
|
||||||
|
#def kill_soname(self):
|
||||||
|
# lst = []
|
||||||
|
# for x in self.env.LINKFLAGS:
|
||||||
|
# if x.startswith("-Wl,-h,"): continue
|
||||||
|
# lst.append(x)
|
||||||
|
# self.env.LINKFLAGS = lst
|
||||||
|
|
Loading…
Reference in New Issue