In WAF win32 builds, add -Wl,--enable-runtime-pseudo-reloc to LINKFLAGS to solve dll linking problems.
This commit is contained in:
4
wscript
4
wscript
@@ -1,5 +1,6 @@
|
||||
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
|
||||
import os
|
||||
import sys
|
||||
|
||||
import Params
|
||||
import Object
|
||||
@@ -121,6 +122,9 @@ def configure(conf):
|
||||
variant_env.append_value('CXXDEFINES', 'NS3_DEBUG_ENABLE')
|
||||
variant_env.append_value('CXXDEFINES', 'NS3_ASSERT_ENABLE')
|
||||
|
||||
if sys.platform == 'win32':
|
||||
variant_env.append_value("LINKFLAGS", "-Wl,--enable-runtime-pseudo-reloc")
|
||||
|
||||
conf.sub_config('src')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user