From 9b40d91a9b3931655f1cb052e0f09f4f67d916d5 Mon Sep 17 00:00:00 2001 From: mittorn Date: Sat, 8 Feb 2020 23:55:56 +0700 Subject: [PATCH] wscript: do not enforce PIC with lib_static --- wscript | 3 +++ 1 file changed, 3 insertions(+) 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