Skip to content

Commit

Permalink
fix pb in affin wscript
Browse files Browse the repository at this point in the history
  • Loading branch information
Gilles Chabert committed May 24, 2019
1 parent e9cc9d5 commit 81a0c0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/affine/wscript
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def options (opt):
def configure (conf):
# The affine plugin is enabled if --with-affine or --with-affine-extended
# options are used.
if conf.options.WITH_AFFINE or conf.options.WITH_AFFINE_EXTEND:
if conf.options.WITH_AFFINE or (hasattr(conf.options,'WITH_AFFINE_EXTEND') and conf.options.WITH_AFFINE_EXTEND):
conf.env.WITH_AFFINE = True

conf.start_msg ("plugin Affine Arithmetic")
Expand Down

0 comments on commit 81a0c0e

Please sign in to comment.