From 9a13e426ccb4c0b72b1a51e5b391c060e940ddb0 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 16 Nov 2002 01:53:20 +0000 Subject: [PATCH] Add missing libdir for libGLU. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/setup.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wxPython/setup.py b/wxPython/setup.py index e4f490b00d..6e55ba252e 100755 --- a/wxPython/setup.py +++ b/wxPython/setup.py @@ -348,6 +348,12 @@ elif os.name == 'posix': lflags = os.popen(WX_CONFIG + ' --libs', 'r').read()[:-1] lflags = string.split(lflags) + # Some distros (e.g. Mandrake) put libGLU in /usr/X11R6/lib, but + # wx-config doesn't output that for some reason. For now, just + # add it unconditionally but we should really check if the lib is + # really found there or wx-config should be fixed. + libdirs.append("/usr/X11R6/lib") + else: raise 'Sorry Charlie...'