diff options
author | Kim Alvefur <zash@zash.se> | 2017-03-03 11:51:32 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-03-03 11:51:32 +0100 |
commit | c284110cb40cb2347f82e974f76eb6bc6927e946 (patch) | |
tree | 85f99ed5cb7b513c1c838f420a20d09305a4f6d9 /configure | |
parent | fdf81e53aa57c68f330deecf4f97cfefb05f5044 (diff) | |
download | prosody-c284110cb40cb2347f82e974f76eb6bc6927e946.tar.gz prosody-c284110cb40cb2347f82e974f76eb6bc6927e946.zip |
configure: Fix setting libdir if prefix changed
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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" ] |