Browse Source

wscript: do not enforce PIC with lib_static

pull/2/head
mittorn 5 years ago
parent
commit
9b40d91a9b
  1. 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…
Cancel
Save