wscript: do not enforce PIC with lib_static
This commit is contained in:
parent
02c68c3a70
commit
9b40d91a9b
1 changed files with 3 additions and 0 deletions
3
wscript
3
wscript
|
@ -153,6 +153,9 @@ def configure(conf):
|
||||||
conf.options.GLWES = True
|
conf.options.GLWES = True
|
||||||
conf.options.GL = False
|
conf.options.GL = False
|
||||||
|
|
||||||
|
if conf.env.STATIC_LINKING:
|
||||||
|
enforce_pic = False # PIC may break static linking
|
||||||
|
|
||||||
conf.env.MAGX = conf.options.MAGX
|
conf.env.MAGX = conf.options.MAGX
|
||||||
if conf.options.MAGX:
|
if conf.options.MAGX:
|
||||||
conf.options.USE_SELECT = True
|
conf.options.USE_SELECT = True
|
||||||
|
|
Loading…
Add table
Reference in a new issue