8bb91099c5
Avoid repeated pointless configure messages like: Checking for 'g++' (C++ compiler!) : /usr/lib64/ccache/g++ Checking for 'gcc' (C compiler) : /usr/lib64/ccache/gcc
26 lines
518 B
Python
26 lines
518 B
Python
#!/usr/bin/env python
|
|
from waflib.extras import autowaf as autowaf
|
|
from waflib import Options
|
|
import os
|
|
import re
|
|
import sys
|
|
|
|
# Mandatory variables
|
|
top = '.'
|
|
out = 'build'
|
|
|
|
def options(opt):
|
|
autowaf.set_options(opt)
|
|
|
|
def configure(conf):
|
|
pass
|
|
|
|
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 ("bsd", sys.platform) == None:
|
|
obj.lib = 'dl'
|
|
obj.install_path = None
|