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