From 3a19c9c9c473ee0141de2e511fec931723f5ba95 Mon Sep 17 00:00:00 2001 From: merakor Date: Wed, 30 Dec 2020 10:19:37 +0000 Subject: helpers: add libdir FossilOrigin-Name: cb21f354ee665b175389c80fb2b923ea623f9e7f0e01ea556c34cd160a061c1b --- helpers/cpt-configure | 1 + src/cpt-lib.in | 1 + 2 files changed, 2 insertions(+) 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}" \ -- cgit v1.2.3