Mercurial > fife-parpg
changeset 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 | 9a1529f9625e |
children | 6b4bb57f3abb |
files | build/linux2-config-dist.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/build/linux2-config-dist.py Thu Aug 07 15:46:46 2008 +0000 +++ b/build/linux2-config-dist.py Mon Aug 18 23:11:32 2008 +0000 @@ -23,6 +23,7 @@ context.checkSimpleLib(['png'], 'png.h'); if context.env['opengl']: - context.env.Append(LIBS = ['GL', 'GLU']) + # linking explicitly against libstdc++ to work around Segfault_in_cxa_allocate_exception issue: http://wiki.fifengine.de/Segfault_in_cxa_allocate_exception + context.env.Append(LIBS = ['stdc++', 'GL', 'GLU']) context.env.Append(LIBPATH = ['/usr/X11R6/lib']) context.checkSimpleLib(['guichan_opengl'])