mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 01:30:07 +01:00
Adapt the build to the new relative location of the wx source
This commit is contained in:
@@ -652,12 +652,9 @@ def phoenixDir():
|
||||
def wxDir():
|
||||
WXWIN = os.environ.get('WXWIN')
|
||||
if not WXWIN:
|
||||
for rel in ['../wxWidgets', '../wx', './wxWidgets', '..']:
|
||||
path = os.path.join(phoenixDir(), rel)
|
||||
if path and os.path.exists(path) and os.path.isdir(path):
|
||||
WXWIN = os.path.abspath(os.path.join(phoenixDir(), rel))
|
||||
break
|
||||
WXWIN = os.path.abspath(os.path.join(phoenixDir(), 'ext/wxWidgets'))
|
||||
assert WXWIN not in [None, '']
|
||||
assert os.path.exists(WXWIN) and os.path.isdir(WXWIN)
|
||||
return WXWIN
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user