From: Robin Dunn Date: Fri, 18 Feb 2000 21:01:27 +0000 (+0000) Subject: fixed some typos X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/352f281a242bba9357d00180aa9f4141f40cf5f4?ds=inline fixed some typos git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/utils/wxPython/distrib/build.py b/utils/wxPython/distrib/build.py index 834dd25817..7197067195 100755 --- a/utils/wxPython/distrib/build.py +++ b/utils/wxPython/distrib/build.py @@ -282,6 +282,8 @@ class BuildConfig: self.LFLAGS = '-L$(WXPSRCDIR) `$(WXCONFIG) --libs`' self.LIBS = '-l$(HELPERLIB)' self.RMCMD = '-rm -f ' + self.WXCONFIG = 'wx-config' + # **** What to do when I start supporting Motif, etc.??? self.GENCODEDIR = 'gtk' @@ -322,12 +324,12 @@ class BuildConfig: # so we can do some sanity checking... if sys.platform != 'win32': if not self.CCC: - self.CCC = os.popen('$(WXCONFIG) --cxx', 'r').read()[:-1] + self.CCC = os.popen('%(WXCONFIG)s --cxx' % self.__dict__, 'r').read()[:-1] if not self.CCC: print "Warning: C++ compiler not specified (CCC). Assuming c++" self.CCC = 'c++' if not self.CC: - self.CCC = os.popen('$(WXCONFIG) --cc', 'r').read()[:-1] + self.CCC = os.popen('%(WXCONFIG)s --cc' % self.__dict__, 'r').read()[:-1] if not self.CC: print "Warning: C compiler not specified (CC). Assuming cc" self.CC = 'cc' @@ -678,7 +680,7 @@ GENCODEDIR = %(GENCODEDIR)s WXPSRCDIR = %(WXPSRCDIR)s HELPERLIB = %(HELPERLIB)s HELPERLIBDIR = %(HELPERLIBDIR)s -WXCONFIG=wx-config +WXCONFIG=%(WXCONFIG)s TARGETDIR = %(TARGETDIR)s