2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-12-23 09:16:04 +01:00

wscript: do not enforce PIC with lib_static

This commit is contained in:
mittorn 2020-02-08 23:55:56 +07:00
parent 02c68c3a70
commit 9b40d91a9b

View File

@ -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