2015-09-26 12:23:19 -04:00
|
|
|
#!/usr/bin/env python
|
|
|
|
from waflib.extras import autowaf as autowaf
|
2016-06-26 10:43:07 -04:00
|
|
|
import re
|
|
|
|
import sys
|
2015-09-26 12:23:19 -04:00
|
|
|
|
|
|
|
def options(opt):
|
|
|
|
autowaf.set_options(opt)
|
|
|
|
|
|
|
|
def configure(conf):
|
2022-01-22 16:09:13 -05:00
|
|
|
pass
|
2015-09-26 12:23:19 -04:00
|
|
|
|
|
|
|
def build(bld):
|
|
|
|
obj = bld(features = 'c cprogram')
|
|
|
|
obj.source = [ 'abicheck.c' ]
|
|
|
|
obj.target = 'gcc-glibmm-abi-check'
|
|
|
|
obj.name = 'gcc-glibmm-abi-check'
|
2022-03-16 14:09:10 -04:00
|
|
|
if re.search ("bsd", sys.platform) is None:
|
2016-06-26 10:43:07 -04:00
|
|
|
obj.lib = 'dl'
|
2015-10-16 10:26:43 -04:00
|
|
|
obj.install_path = None
|