mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
configure: Fix for commit cd0088c73daf - update LIBDIR if --prefix is set and --libdir isn't (thanks Medics)
This commit is contained in:
parent
5bab5b528a
commit
45e9902b57
1 changed files with 6 additions and 0 deletions
6
configure
vendored
6
configure
vendored
|
@ -139,6 +139,7 @@ do
|
|||
;;
|
||||
--libdir=*)
|
||||
LIBDIR="$value"
|
||||
LIBDIR_SET=yes
|
||||
;;
|
||||
--datadir=*)
|
||||
DATADIR="$value"
|
||||
|
@ -213,6 +214,11 @@ then
|
|||
fi
|
||||
fi
|
||||
|
||||
if [ "$PREFIX_SET" = "yes" -a ! "$LIBDIR_SET" = "yes" ]
|
||||
then
|
||||
LIBDIR=$PREFIX/lib
|
||||
fi
|
||||
|
||||
find_program() {
|
||||
path="$PATH"
|
||||
item="`echo "$path" | sed 's/\([^:]*\):.*/\1/'`"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue