Mercurial > fife-parpg
comparison build/linux2-config-dist.py @ 130:b49714fff478
* Workaround for Segfault_in_cxa_allocate_exception: http://wiki.fifengine.de/Segfault_in_cxa_allocate_exception
* Full credit goes to Yonibear from OpenAnno who tracked down the issue
author | mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Mon, 18 Aug 2008 23:11:32 +0000 |
parents | 4a0efb7baf70 |
children | ea04dfe54aae |
comparison
equal
deleted
inserted
replaced
129:9a1529f9625e | 130:b49714fff478 |
---|---|
21 context.checkSimpleLib(['boost_filesystem', 'boost_filesystem-gcc', 'boost_filesystem-gcc41']) | 21 context.checkSimpleLib(['boost_filesystem', 'boost_filesystem-gcc', 'boost_filesystem-gcc41']) |
22 context.checkSimpleLib(['boost_regex', 'boost_regex-gcc', 'boost_regex-gcc41']) | 22 context.checkSimpleLib(['boost_regex', 'boost_regex-gcc', 'boost_regex-gcc41']) |
23 context.checkSimpleLib(['png'], 'png.h'); | 23 context.checkSimpleLib(['png'], 'png.h'); |
24 | 24 |
25 if context.env['opengl']: | 25 if context.env['opengl']: |
26 context.env.Append(LIBS = ['GL', 'GLU']) | 26 # linking explicitly against libstdc++ to work around Segfault_in_cxa_allocate_exception issue: http://wiki.fifengine.de/Segfault_in_cxa_allocate_exception |
27 context.env.Append(LIBS = ['stdc++', 'GL', 'GLU']) | |
27 context.env.Append(LIBPATH = ['/usr/X11R6/lib']) | 28 context.env.Append(LIBPATH = ['/usr/X11R6/lib']) |
28 context.checkSimpleLib(['guichan_opengl']) | 29 context.checkSimpleLib(['guichan_opengl']) |