summaryrefslogtreecommitdiff
path: root/source4/lib/popt/SConscript
blob: 85f9c9b7e0fabf40e9c3a8749f8664ec3d0ff94a (plain)
1
2
3
4
5
6
7
8
9
10
11
#            tastes like -*- python -*-
Import('hostenv')


if hostenv['configure']:
    conf = hostenv.Configure()
    conf.env['HAVE_EXTERNAL_POPT'] = conf.CheckLibWithHeader('popt', 'popt.h', 'c', 'poptGetArgs(NULL);')
    conf.Finish()

popt = hostenv.StaticLibrary('popt', ['findme.c','popt.c','poptconfig.c','popthelp.c','poptparse.c'])
Export('popt')