diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2017-01-31 19:23:12 +0100 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2017-01-31 18:50:37 +0000 |
commit | d4754ce42ee66c15a4b9e8182115cc25acd6f8cb (patch) | |
tree | 754c199ab900bbdf70006c55a38fb3a10845c4d0 /subr | |
parent | 871d411220b37cdd5f4d4892e3e375ca076ca5ef (diff) | |
download | midipix_build-d4754ce42ee66c15a4b9e8182115cc25acd6f8cb.tar.bz2 midipix_build-d4754ce42ee66c15a4b9e8182115cc25acd6f8cb.tar.xz |
vars/gcc.vars, subr/build.subr: cleanup.
Diffstat (limited to 'subr')
-rw-r--r-- | subr/build.subr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/subr/build.subr b/subr/build.subr index 3020a002..8c7c9543 100644 --- a/subr/build.subr +++ b/subr/build.subr @@ -76,6 +76,14 @@ create_dirs() { secure_rm "${__}"; ln -sf -- . "${__}"; fi; done; + if [ ! -L ${PREFIX}/x86_64-w64-mingw32/mingw ]; then + secure_rm ${PREFIX}/x86_64-w64-mingw32/mingw; + ln -sf . ${PREFIX}/x86_64-w64-mingw32/mingw; + fi; + if [ ! -d ${PREFIX}/x86_64-w64-mingw32/mingw/include ]; then + secure_rm ${PREFIX}/x86_64-w64-mingw32/mingw/include; + insecure_mkdir ${PREFIX}/x86_64-w64-mingw32/mingw/include; + fi; if [ ! -L ${PREFIX}/man ]; then secure_rm ${PREFIX}/man; ln -sf share/man ${PREFIX}/man; |