From c6cc38f9a885ee6c8110b46f47597e2f94a281cb Mon Sep 17 00:00:00 2001 From: constantined Date: Wed, 3 Jan 2018 11:08:26 +0000 Subject: [PATCH] Define bindir, libdir and incdir after custom PREFIX was set --- configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index b3c6c19..f86e3ae 100644 --- a/configure +++ b/configure @@ -53,9 +53,6 @@ die_unknown(){ } PREFIX="/mingw" -bindir="${PREFIX}/bin" -libdir="${PREFIX}/lib" -incdir="${PREFIX}/include/sys" ar="ar" cc_default="gcc" ranlib="ranlib" @@ -111,6 +108,9 @@ for opt do esac done +bindir="${PREFIX}/bin" +libdir="${PREFIX}/lib" +incdir="${PREFIX}/include/sys" ar="${cross_prefix}${ar}" cc_default="${cross_prefix}${cc_default}" ranlib="${cross_prefix}${ranlib}"