mirror of https://gitlab.com/ita1024/waf.git
Update in demos/d/
This commit is contained in:
parent
004b866789
commit
38ae92994d
|
@ -1,5 +1,5 @@
|
||||||
obj = bld(features='d dprogram')
|
obj = bld(features='d dprogram')
|
||||||
obj.source = 'main.d extra.d'
|
obj.source = 'main.d extra.d'
|
||||||
obj.target = 'test2'
|
obj.target = 'test2'
|
||||||
obj.importpaths = '.'
|
obj.includes = '.'
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,8 @@ def options(opt):
|
||||||
opt.load('compiler_d')
|
opt.load('compiler_d')
|
||||||
|
|
||||||
def configure(conf):
|
def configure(conf):
|
||||||
|
# why does dmd require -fPIC on everything?
|
||||||
|
conf.env.DFLAGS='-fPIC'
|
||||||
conf.load('compiler_d')
|
conf.load('compiler_d')
|
||||||
conf.env.LIB_PTHREAD = ['pthread']
|
conf.env.LIB_PTHREAD = ['pthread']
|
||||||
conf.check_dlibrary()
|
conf.check_dlibrary()
|
||||||
|
|
Loading…
Reference in New Issue