Hello all,

   Line 12 in wip/SConscript reads:
   FBFLAGS = os.environ.get ('FBFLAGS', []) + ['-mt']

   From my understanding of Python, this will never work unless
FBFLAGS is null. Otherwise, you get:
      'some_string' + ['-mt']
   ...and Python complains that you can't concatenate an array to a string.

   I think this is probably the easiest fix:
   FBFLAGS = os.environ.get ('FBFLAGS', '').split() + ['-mt']

   ...but this might erase spaces in path names. I tried:
  FBFLAGS = [os.environ.get ('FBFLAGS', '')] + ['-mt']

  ...but that doesn't work right either.

  FYI, I am setting FBFLAGS like so (in a script somewhere), so if I'm
using it wrongly let me know:
  export FBFLAGS="-i $(dirname $FBC)/../include/freebasic"

-->Seth
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to