summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2018-11-13 15:48:46 +0100
committerSlávek Banko <slavek.banko@axis.cz>2018-11-17 10:43:11 +0100
commit273a9c83a1ebf1cfb48695446b14b32a901c7f01 (patch)
treec583c23b7ac2a7139315a6fa0f9d35406524875e
parenta47e042892e6d1f72a68dfd492eaefaad5ac27a3 (diff)
downloadtdelibs-273a9c83a1ebf1cfb48695446b14b32a901c7f01.tar.gz
tdelibs-273a9c83a1ebf1cfb48695446b14b32a901c7f01.zip
fix issue #3 utempter detection
Signed-off-by: gregory guy <g-gregory@gmx.fr> (cherry picked from commit 82afa07a430c43bc122c7325dc67fb9f3ad6216a)
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7a284a9ad..b10250ad7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -583,12 +583,12 @@ if( WITH_UTEMPTER )
find_program( UTEMPTER_HELPER utempter
PATHS
/usr/lib/${CMAKE_LIBRARY_ARCHITECTURE}/utempter
- /usr/lib/utempter
+ /usr/lib${LIB_SUFFIX}/utempter
/usr/libexec/utempter
/usr/libexec
/usr/sbin
/usr/local/lib/${CMAKE_LIBRARY_ARCHITECTURE}/utempter
- /usr/local/lib/utempter
+ /usr/local/lib${LIB_SUFFIX}/utempter
/usr/local/libexec/utempter
/usr/local/libexec
/usr/local/sbin