diff --git a/demos/d/src/wscript_build b/demos/d/src/wscript_build index 6c750c38..6b1fe92f 100644 --- a/demos/d/src/wscript_build +++ b/demos/d/src/wscript_build @@ -1,5 +1,5 @@ obj = bld(features='d dprogram') obj.source = 'main.d extra.d' obj.target = 'test2' -obj.importpaths = '.' +obj.includes = '.' diff --git a/demos/d/wscript b/demos/d/wscript index a673b503..d734e401 100644 --- a/demos/d/wscript +++ b/demos/d/wscript @@ -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()