aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--helpers/cpt-configure1
-rw-r--r--src/cpt-lib.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/helpers/cpt-configure b/helpers/cpt-configure
index 25c8533..6978924 100644
--- a/helpers/cpt-configure
+++ b/helpers/cpt-configure
@@ -4,6 +4,7 @@
set -- \
"--prefix=$CPT_PKG_PREFIX" \
+ "--libdir=$CPT_PKG_LIBDIR" \
"--sysconfdir=$CPT_PKG_ETCDIR" \
"--bindir=$CPT_PKG_BINDIR" \
"--sbindir=$CPT_PKG_SBINDIR" \
diff --git a/src/cpt-lib.in b/src/cpt-lib.in
index a91e075..cf39b97 100644
--- a/src/cpt-lib.in
+++ b/src/cpt-lib.in
@@ -1922,6 +1922,7 @@ create_cache() {
# TODO Document
: "${CPT_PKG_PREFIX:=/usr}" \
"${CPT_PKG_ETCDIR:=/etc}" \
+ "${CPT_PKG_LIBDIR:=$CPT_PKG_PREFIX/lib}" \
"${CPT_PKG_BINDIR:=$CPT_PKG_PREFIX/bin}" \
"${CPT_PKG_SBINDIR:=$CPT_PKG_PREFIX/bin}" \
"${CPT_PKG_MANDIR:=/usr/share/man}" \