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

Import('hostenv')

conf = Configure(hostenv)
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')