mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-03-10 04:31:16 +00:00
wscript: do not enforce PIC with lib_static
This commit is contained in:
parent
02c68c3a70
commit
9b40d91a9b
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…
x
Reference in New Issue
Block a user