diff options
author | Christoph Junghans | 2014-08-01 19:37:08 +0200 |
---|---|---|
committer | Christoph Junghans | 2014-08-01 19:42:25 +0200 |
commit | b2b61efcfaa6030111d97d630900f77cd78b0e23 (patch) | |
tree | 5cd8ce3863fe94f7039c8899c0d6c0d5512fb223 /configure.ac | |
parent | zrmactl: add new command to control /dev/zramN devices (diff) | |
download | kernel-qcow2-util-linux-b2b61efcfaa6030111d97d630900f77cd78b0e23.tar.gz kernel-qcow2-util-linux-b2b61efcfaa6030111d97d630900f77cd78b0e23.tar.xz kernel-qcow2-util-linux-b2b61efcfaa6030111d97d630900f77cd78b0e23.zip |
build-sys: fix double prefix with explict --libdir
* with configure --prefix=$HOME --libdir=$HOME usrlib_execdir
ends up being ${exec_prefix}/${libbir}, which is double-prefixed
* fix: use explict given ${libbir} if is matches ${prefix}/*
Signed-off-by: Christoph Junghans <ottxor@gentoo.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 948710e19..dd6194849 100644 --- a/configure.ac +++ b/configure.ac @@ -80,7 +80,7 @@ usrsbin_execdir='${exec_prefix}/sbin' AC_SUBST([usrsbin_execdir]) AS_CASE([$libdir], - ['${exec_prefix}/'* | '${prefix}/'* | /usr/*], + ['${exec_prefix}/'* | '${prefix}/'* | /usr/* | "${prefix}"/* ], [usrlib_execdir=$libdir], [usrlib_execdir='${exec_prefix}'$libdir] ) |