Skip to content

Commit

Permalink
Merge pull request #12 from constantined/patch-1
Browse files Browse the repository at this point in the history
Define bindir, libdir and incdir after custom PREFIX was set
  • Loading branch information
witwall authored Oct 11, 2019
2 parents fd14269 + c6cc38f commit 2d1c576
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ die_unknown(){
}

PREFIX="/mingw"
bindir="${PREFIX}/bin"
libdir="${PREFIX}/lib"
incdir="${PREFIX}/include/sys"
ar="ar"
cc_default="gcc"
ranlib="ranlib"
Expand Down Expand Up @@ -115,6 +112,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}"
Expand Down

0 comments on commit 2d1c576

Please sign in to comment.