summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2017-01-29 17:07:19 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2017-01-29 17:07:19 +0000
commit276fbdf5b8dd01c9bde517b35d0d683300fd78a1 (patch)
tree765992bd08f92f72c4e6d9546c79a80520f8a102
parent0e9d2fd8825e2638b592ad96c7f3858283c79f24 (diff)
downloadmidipix_build-276fbdf5b8dd01c9bde517b35d0d683300fd78a1.tar.bz2
midipix_build-276fbdf5b8dd01c9bde517b35d0d683300fd78a1.tar.xz
build/gcc.full.build: fix mingw symlink generation (via midipix.)
-rw-r--r--build/gcc.full.build6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/gcc.full.build b/build/gcc.full.build
index d8076bbd..75670fa8 100644
--- a/build/gcc.full.build
+++ b/build/gcc.full.build
@@ -4,9 +4,9 @@
if [ "${3}" = mingw_w64 ]; then
TARGET=x86_64-w64-mingw32;
- if [ ! -L ${PKG_PREFIX}/mingw ]; then
- secure_rm ${PKG_PREFIX}/mingw;
- ln -sf . ${PKG_PREFIX}/mingw;
+ if [ ! -L ${PREFIX}/${TARGET}/mingw ]; then
+ secure_rm ${PREFIX}/${TARGET}/mingw;
+ ln -sf . ${PREFIX}/${TARGET}/mingw;
fi;
fi;