updated wf wscript to check for existence of ctx.options.enable_static_library attribute before trying access it
parent
789ca317d6
commit
213adb3938
1
wscript
1
wscript
|
|
@ -223,6 +223,7 @@ def build(ctx):
|
|||
# Add additional static compilation dependencies based on the system.
|
||||
# libpcap is used by protolib on GNU/Hurd based systems.
|
||||
static_libs = ''
|
||||
if hasattr(ctx.options, 'enable_static_library'):
|
||||
if ctx.options.enable_static_library:
|
||||
static_libs += ' -lstdc++ -lprotokit'
|
||||
if system == "gnu":
|
||||
|
|
|
|||
Loading…
Reference in New Issue