13
0
livetrax/tools/gccabicheck/wscript

27 lines
569 B
Plaintext
Raw Normal View History

2015-09-26 12:23:19 -04:00
#!/usr/bin/env python
from waflib.extras import autowaf as autowaf
from waflib import Options
import os
import re
import sys
2015-09-26 12:23:19 -04:00
# Mandatory variables
top = '.'
out = 'build'
def options(opt):
autowaf.set_options(opt)
def configure(conf):
conf.load('compiler_c')
autowaf.configure(conf)
def build(bld):
obj = bld(features = 'c cprogram')
obj.source = [ 'abicheck.c' ]
obj.target = 'gcc-glibmm-abi-check'
obj.name = 'gcc-glibmm-abi-check'
if re.search ("freebsd", sys.platform) == None:
obj.lib = 'dl'
2015-10-16 10:26:43 -04:00
obj.install_path = None