diff --git a/wscript b/wscript index 459f79f6..31029639 100644 --- a/wscript +++ b/wscript @@ -153,6 +153,9 @@ def configure(conf): conf.options.GLWES = True conf.options.GL = False + if conf.env.STATIC_LINKING: + enforce_pic = False # PIC may break static linking + conf.env.MAGX = conf.options.MAGX if conf.options.MAGX: conf.options.USE_SELECT = True