8bdc493773
Fixes #324960, enabling config.py to handle in tree builds without tainting build_options.py used for (later) install to some other location. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
17 lines
321 B
Bash
17 lines
321 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
WXPYTHONDIR="/=WXPYDIR"
|
|
|
|
if [ "$1" = "configure" ]; then
|
|
=PY /usr/lib/=PY/compileall.py -q ${WXPYTHONDIR}
|
|
=PY -O /usr/lib/=PY/compileall.py -q ${WXPYTHONDIR}
|
|
fi
|
|
|
|
update-alternatives --install /usr/lib/=PY/site-packages/wx.pth wx.pth \
|
|
/usr/lib/wx/python/wx=V.pth =PRIO
|
|
|
|
#DEBHELPER#
|
|
|