mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-10 12:01:10 +00:00
workaround for --export-dynamic in gtkglext
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@67 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
parent
e9560a69a3
commit
c56806c2b7
1 changed files with 5 additions and 4 deletions
|
@ -255,10 +255,11 @@ class idEnvironment(Environment):
|
||||||
def useGtkGLExt(self):
|
def useGtkGLExt(self):
|
||||||
self['CXXFLAGS'] += '`pkg-config gtkglext-1.0 --cflags` '
|
self['CXXFLAGS'] += '`pkg-config gtkglext-1.0 --cflags` '
|
||||||
self['CCFLAGS'] += '`pkg-config gtkglext-1.0 --cflags` '
|
self['CCFLAGS'] += '`pkg-config gtkglext-1.0 --cflags` '
|
||||||
if BUILD == 'final':
|
#if BUILD == 'final':
|
||||||
self['LINKFLAGS'] += '-lgtkglext-x11-1.0 -lgdkglext-x11-1.0 '
|
self['LINKFLAGS'] += '-lgtkglext-x11-1.0 -lgdkglext-x11-1.0 '
|
||||||
else:
|
# apparently pkg-config for gtkglext includes --export-dynamic, which b0rks everything.
|
||||||
self['LINKFLAGS'] += 'pkg-config gtkglext-1.0 --libs-only-L` `pkg-config gtkglext-1.0 --libs-only-l` '
|
#else:
|
||||||
|
# self['LINKFLAGS'] += 'pkg-config gtkglext-1.0 --libs-only-L` `pkg-config gtkglext-1.0 --libs-only-l` '
|
||||||
|
|
||||||
def usePNG(self):
|
def usePNG(self):
|
||||||
self['CXXFLAGS'] += '`libpng-config --cflags` '
|
self['CXXFLAGS'] += '`libpng-config --cflags` '
|
||||||
|
|
Loading…
Reference in a new issue