|
|
|
@ -10,15 +10,8 @@ def options(opt):
@@ -10,15 +10,8 @@ def options(opt):
|
|
|
|
|
return |
|
|
|
|
|
|
|
|
|
def configure(conf): |
|
|
|
|
if conf.env.COMPILER_CC == 'msvc': |
|
|
|
|
# hl.def removes MSVC function name decoration from GiveFnptrsToDll on Windows. |
|
|
|
|
# Without this, the lookup for this function fails. |
|
|
|
|
hlDefNode = conf.path.find_resource("./hl.def") |
|
|
|
|
|
|
|
|
|
if hlDefNode is not None: |
|
|
|
|
conf.env.append_unique('LINKFLAGS', '/def:%s' % hlDefNode.abspath()) |
|
|
|
|
else: |
|
|
|
|
conf.fatal("Could not find hl.def") |
|
|
|
|
# stub |
|
|
|
|
return |
|
|
|
|
|
|
|
|
|
def build(bld): |
|
|
|
|
source = bld.path.parent.ant_glob([ |
|
|
|
|