File 0001-Remove-whitespace-padding-from-PYTHON3_LIBRARIES-var.patch of Package soapy-sdr

From 2979de0bbb253a134f7504b3c56ddb6e6f614624 Mon Sep 17 00:00:00 2001
From: "Jared K. Smith" <jaredsmith@jaredsmith.net>
Date: Thu, 7 Dec 2017 14:50:56 -0500
Subject: [PATCH] Remove whitespace padding from PYTHON3_LIBRARIES variable

---
 python3/FindPython3Libs.cmake | 1 +
 1 file changed, 1 insertion(+)

diff --git a/python3/FindPython3Libs.cmake b/python3/FindPython3Libs.cmake
index 8994f0c..9af2007 100644
--- a/python3/FindPython3Libs.cmake
+++ b/python3/FindPython3Libs.cmake
@@ -156,6 +156,7 @@ if (NOT PYTHON3_LIBRARIES OR NOT PYTHON3_INCLUDE_DIRS)
             COMMAND ${PYTHON3_CONFIG_EXECUTABLE}  --ldflags
             OUTPUT_STRIP_TRAILING_WHITESPACE
             OUTPUT_VARIABLE PYTHON3_LIBRARIES)
+        string(STRIP "${PYTHON3_LIBRARIES}" PYTHON3_LIBRARIES)
     endif(PYTHON3_CONFIG_EXECUTABLE)
 endif()
 
-- 
2.13.6

openSUSE Build Service is sponsored by