]> git.saurik.com Git - wxWidgets.git/commitdiff
wx-config now provides all the needed flags, so lflags just adds duplicates.
authorKevin Ollivier <kevino@theolliviers.com>
Mon, 6 Feb 2006 03:03:24 +0000 (03:03 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Mon, 6 Feb 2006 03:03:24 +0000 (03:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/setup.py

index d672a441966889431c0c7a3c056cc5548b30fd44..cdaa055bfcc22de696f76fe978db62d99d996561 100755 (executable)
@@ -480,8 +480,9 @@ if BUILD_GLCANVAS:
     gl_libs = []
     if os.name == 'posix':
         gl_config = os.popen(WX_CONFIG + ' --libs gl', 'r').read()[:-1]
     gl_libs = []
     if os.name == 'posix':
         gl_config = os.popen(WX_CONFIG + ' --libs gl', 'r').read()[:-1]
-        gl_lflags = gl_config.split() + lflags
+        gl_lflags = gl_config.split()
         gl_libs = libs
         gl_libs = libs
+        
     else:
         gl_libs = libs + ['opengl32', 'glu32'] + makeLibName('gl')
         gl_lflags = lflags
     else:
         gl_libs = libs + ['opengl32', 'glu32'] + makeLibName('gl')
         gl_lflags = lflags