yolobs-studio/debian/patches/0004-Link-with-libm-and-libdl-to-fix-underlinking.patch
Sebastian Ramacher 1960f53b18 Refresh patches
2020-10-01 22:30:46 +02:00

24 lines
630 B
Diff

From: Sebastian Ramacher <sramacher@debian.org>
Date: Wed, 19 Apr 2017 22:44:48 +0200
Subject: Link with libm and libdl to fix underlinking
---
libobs/CMakeLists.txt | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/libobs/CMakeLists.txt b/libobs/CMakeLists.txt
index 6e9a7d1..22c5f9b 100644
--- a/libobs/CMakeLists.txt
+++ b/libobs/CMakeLists.txt
@@ -247,6 +247,11 @@ elseif(UNIX)
${PULSEAUDIO_LIBRARY})
endif()
+ set(libobs_PLATFORM_DEPS
+ ${libobs_PLATFORM_DEPS}
+ m
+ dl)
+
if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
# use the sysinfo compatibility library on bsd
find_package(Libsysinfo REQUIRED)