fix for self.root == None
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -408,7 +408,7 @@ class wx_install_headers(distutils.command.install_headers.install_headers):
|
||||
return
|
||||
|
||||
root = self.root
|
||||
if WXPREFIX.startswith(root):
|
||||
if root is None or WXPREFIX.startswith(root):
|
||||
root = ''
|
||||
for header, location in headers:
|
||||
install_dir = os.path.normpath(root + WXPREFIX + location)
|
||||
|
Reference in New Issue
Block a user