summaryrefslogtreecommitdiffhomepage
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-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;