2
0
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:
Thomas Nagy 2015-01-30 01:06:15 +01:00
parent 004b866789
commit 38ae92994d
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,5 @@
obj = bld(features='d dprogram')
obj.source = 'main.d extra.d'
obj.target = 'test2'
obj.importpaths = '.'
obj.includes = '.'

View File

@ -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()