File tcmu-runner-Use-CMake-FULL-library-directory-for-SOs.patch of Package tcmu-runner.5250

From acd6090c6781a8bb671ac01e80ad0ec23d498767 Mon Sep 17 00:00:00 2001
From: Lee Duncan <lduncan@suse.com>
Date: Wed, 11 May 2016 12:06:55 -0700
Subject: [PATCH] Use CMake *FULL* library directory for SOs

When setting a directory name for version.h, the
'so' directory path was being set to "lib64/tcmu-runner"
instaed of "/usr/lib64/tcmu-runner".
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b6c30d3fd906..c30432e5944c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,7 +5,7 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -std=c99")
 
 include(GNUInstallDirs)
 
-set(tcmu-runner_HANDLER_PATH "${CMAKE_INSTALL_LIBDIR}/tcmu-runner")
+set(tcmu-runner_HANDLER_PATH "${CMAKE_INSTALL_FULL_LIBDIR}/tcmu-runner")
 
 option(with-glfs "build Gluster glfs handler" true)
 option(with-qcow "build qcow handler" true)
-- 
2.6.6

openSUSE Build Service is sponsored by