From 273a9c83a1ebf1cfb48695446b14b32a901c7f01 Mon Sep 17 00:00:00 2001 From: gregory guy Date: Tue, 13 Nov 2018 15:48:46 +0100 Subject: [PATCH] fix issue #3 utempter detection Signed-off-by: gregory guy (cherry picked from commit 82afa07a430c43bc122c7325dc67fb9f3ad6216a) --- CMakeLists.txt | 4 ++-- 1 file 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