From 276fbdf5b8dd01c9bde517b35d0d683300fd78a1 Mon Sep 17 00:00:00 2001 From: Lucio Andrés Illanes Albornoz (arab, vxp) Date: Jan 29 2017 17:07:19 +0000 Subject: build/gcc.full.build: fix mingw symlink generation (via midipix.) --- diff --git a/build/gcc.full.build b/build/gcc.full.build index d8076bb..75670fa 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;