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:
@@ -834,7 +834,7 @@ VERSION = "%s.%s.%s.%s%s" % (VER_MAJOR, VER_MINOR, VER_RELEASE,
|
|||||||
# SWIG defaults
|
# 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
|
# a subdirectory of the devel package. Let's specify both
|
||||||
# dirs as includes so we don't have to guess which is correct.
|
# dirs as includes so we don't have to guess which is correct.
|
||||||
|
|
||||||
@@ -848,9 +848,6 @@ else:
|
|||||||
i_files_includes = [ '-I' + opj(WXPY_SRC, 'src'),
|
i_files_includes = [ '-I' + opj(WXPY_SRC, 'src'),
|
||||||
'-I' + wxfilesdir ]
|
'-I' + wxfilesdir ]
|
||||||
|
|
||||||
if wxfilesdir != "":
|
|
||||||
i_files_includes.append(wxfilesdir)
|
|
||||||
|
|
||||||
swig_cmd = SWIG
|
swig_cmd = SWIG
|
||||||
swig_force = force
|
swig_force = force
|
||||||
swig_args = ['-c++',
|
swig_args = ['-c++',
|
||||||
|
Reference in New Issue
Block a user