File belle-sip-fix-pkgconfig.patch of Package belle-sip

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -137,14 +137,14 @@ configure_file(${CMAKE_CURRENT_SOURCE_DI
 
 set(prefix ${CMAKE_INSTALL_PREFIX})
 set(exec_prefix ${prefix}/bin)
-set(libdir ${prefix}/lib)
+set(libdir ${CMAKE_INSTALL_FULL_LIBDIR})
 set(includedir ${prefix}/include)
 get_filename_component(antlr3c_library_path "${ANTLR3C_LIBRARIES}" PATH)
 set(LIBS_PRIVATE "-L${antlr3c_library_path} -lantlr3c")
 get_filename_component(bctoolbox_library_path "${BCTOOLBOX_CORE_LIBRARIES}" PATH)
 set(LIBS_PRIVATE "${LIBS_PRIVATE} -L${bctoolbox_library_path} -lbctoolbox")
 if(ZLIB_FOUND)
-	set(REQUIRES_PRIVATE "${REQUIRES_PRIVATE} z")
+	set(REQUIRES_PRIVATE "${REQUIRES_PRIVATE} zlib")
 endif()
 if(HAVE_LIBDL)
 	set(LIBS_PRIVATE "${LIBS_PRIVATE} -ldl")
openSUSE Build Service is sponsored by