From 4d018693fbd18be77e8b5501cfcd2c6265581967 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 6 Mar 2025 09:13:30 +0000 Subject: automatic import of libyuv --- ...0006-Link-against-math-library-for-roundf.patch | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 libyuv-0006-Link-against-math-library-for-roundf.patch (limited to 'libyuv-0006-Link-against-math-library-for-roundf.patch') diff --git a/libyuv-0006-Link-against-math-library-for-roundf.patch b/libyuv-0006-Link-against-math-library-for-roundf.patch new file mode 100644 index 0000000..0f12d37 --- /dev/null +++ b/libyuv-0006-Link-against-math-library-for-roundf.patch @@ -0,0 +1,24 @@ +From: Peter Lemenkov +Date: Wed, 5 Jun 2024 20:52:19 +0200 +Subject: [PATCH] Link against math library for roundf + +Signed-off-by: Peter Lemenkov + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 0e4c79db..b6a19a09 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -130,11 +130,11 @@ TARGET_LINK_LIBRARIES ( cpuid ${ly_lib_shared} ) + + # this creates the conversion tool + ADD_EXECUTABLE ( yuvconvert ${ly_base_dir}/util/yuvconvert.cc ) +-TARGET_LINK_LIBRARIES ( yuvconvert ${ly_lib_shared} ) ++TARGET_LINK_LIBRARIES ( yuvconvert ${ly_lib_shared} m ) + + # this creates the yuvconstants tool + ADD_EXECUTABLE ( yuvconstants ${ly_base_dir}/util/yuvconstants.c ) +-TARGET_LINK_LIBRARIES ( yuvconstants ${ly_lib_shared} ) ++TARGET_LINK_LIBRARIES ( yuvconstants ${ly_lib_shared} m ) + + find_package ( JPEG ) + if (JPEG_FOUND) -- cgit v1.2.3