mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 05:07:42 +03:00
configure: Fix setting libdir if prefix changed
This commit is contained in:
parent
c0937dcdb4
commit
140c6de026
1 changed files with 5 additions and 0 deletions
5
configure
vendored
5
configure
vendored
|
@ -338,6 +338,11 @@ then
|
|||
fi
|
||||
fi
|
||||
|
||||
if [ "$PREFIX_SET" = "yes" -a ! "$LIBDIR_SET" = "yes" ]
|
||||
then
|
||||
LIBDIR=$PREFIX/lib
|
||||
fi
|
||||
|
||||
detect_lua_version() {
|
||||
detected_lua=`$1 -e 'print(_VERSION:match(" (5%.[123])$"))' 2> /dev/null`
|
||||
if [ "$detected_lua" != "nil" ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue