X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/409eab506ebe5454e10b7e49da263993e00399ce..f52e0cf4893f90451eaf5987e4786bde066f629c:/wxPython/config.py?ds=sidebyside diff --git a/wxPython/config.py b/wxPython/config.py index f5d5321577..baa5c9dfa2 100644 --- a/wxPython/config.py +++ b/wxPython/config.py @@ -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)