From 276fbdf5b8dd01c9bde517b35d0d683300fd78a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Sun, 29 Jan 2017 17:07:19 +0000 Subject: build/gcc.full.build: fix mingw symlink generation (via midipix.) --- build/gcc.full.build | 6 +++--- 1 file 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; -- cgit v1.2.3