diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2020-05-26 12:22:03 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2020-05-26 12:22:03 +0200 |
commit | 4531a96c9a77ab225aaeb472a7c7642e2e7dcb38 (patch) | |
tree | 7487ba1f7f5fffd9462bf81d3a0b09fe8cb159c2 /ci | |
parent | 9747681dd97510d5a47f33edc323670a57bf1bfa (diff) | |
download | xfce4-dev-tools-4531a96c9a77ab225aaeb472a7c7642e2e7dcb38.tar.gz |
ci/build_libs.sh: update configure options
Remove --build and --host since they are only needed for crosscompile.
Native builds don't need those and they will not work in case someone
tries build on 32bit.
Also add envronment variables for libdir and libexecdir so the
debian/ubuntu specific lib(exec)dir can be overridden.
Diffstat (limited to 'ci')
-rw-r--r-- | ci/build_libs.sh | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/ci/build_libs.sh b/ci/build_libs.sh index 77d7d4d..6cedec5 100644 --- a/ci/build_libs.sh +++ b/ci/build_libs.sh @@ -2,9 +2,19 @@ XFCE_BASE=https://gitlab.xfce.org -AUTOGEN_OPTIONS="--disable-debug --enable-maintainer-mode --host=x86_64-linux-gnu - --build=x86_64-linux-gnu --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu - --libexecdir=/usr/lib/x86_64-linux-gnu --sysconfdir=/etc --localstatedir=/var --enable-gtk-doc" +: ${libdir:="/usr/lib/x86_64-linux-gnu"} +: ${libexecdir:="/usr/lib/x86_64-linux-gnu"} + +AUTOGEN_OPTIONS=" + --disable-debug + --enable-maintainer-mode + --prefix=/usr + --libdir=$libdir + --libexecdir=$libexecdir + --sysconfdir=/etc + --localstatedir=/var + --enable-gtk-doc +" # list of git repos in build order REPOS="${XFCE_BASE}/xfce/xfce4-dev-tools.git |