diff --git a/wxPython/setup.py b/wxPython/setup.py index 6a9954967b..516529fdce 100755 --- a/wxPython/setup.py +++ b/wxPython/setup.py @@ -247,7 +247,7 @@ elif os.name == 'posix': libdirs = [] libs = [] - cflags = os.popen(WX_CONFIG + ' --cflags', 'r').read()[:-1] + ' ' + \ + cflags = os.popen(WX_CONFIG + ' --cxxflags', 'r').read()[:-1] + ' ' + \ os.popen('gtk-config --cflags', 'r').read()[:-1] cflags = string.split(cflags)