Don't add wxfilesdir twice

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2005-02-07 20:35:43 +00:00
parent ca30acad7a
commit d1b3d685a7

View File

@ -834,7 +834,7 @@ VERSION = "%s.%s.%s.%s%s" % (VER_MAJOR, VER_MINOR, VER_RELEASE,
# SWIG defaults
#----------------------------------------------------------------------
# i files could live in the wxWidgets/wxPython/src dir, or in
# *.i files could live in the wxWidgets/wxPython/src dir, or in
# a subdirectory of the devel package. Let's specify both
# dirs as includes so we don't have to guess which is correct.
@ -844,12 +844,9 @@ if os.name != "nt":
wxfilesdir = opj(WXPREFIX, i_subdir)
else:
wxfilesdir = opj(WXPY_SRC, i_subdir)
i_files_includes = [ '-I' + opj(WXPY_SRC, 'src'),
'-I' + wxfilesdir ]
if wxfilesdir != "":
i_files_includes.append(wxfilesdir)
swig_cmd = SWIG
swig_force = force