aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-12-30 10:19:37 +0000
committermerakor <cem@ckyln.com>2020-12-30 10:19:37 +0000
commit3a19c9c9c473ee0141de2e511fec931723f5ba95 (patch)
tree66bfa57f942d4cce0ff66e77724dab15b7649a5f
parent8a274ee7e104bd484a395a922526551e6fe4046e (diff)
downloadcpt-3a19c9c9c473ee0141de2e511fec931723f5ba95.tar.gz
helpers: add libdir
FossilOrigin-Name: cb21f354ee665b175389c80fb2b923ea623f9e7f0e01ea556c34cd160a061c1b
-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}" \