yolobs-studio/debian/patches/0004-Link-with-libm-and-libdl-to-fix-underlinking.patch

25 lines
630 B
Diff
Raw Permalink Normal View History

2017-04-19 20:48:37 +00:00
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
2020-12-22 17:34:09 +00:00
index 633d879..a367759 100644
2017-04-19 20:48:37 +00:00
--- a/libobs/CMakeLists.txt
+++ b/libobs/CMakeLists.txt
2020-12-22 17:34:09 +00:00
@@ -250,6 +250,11 @@ elseif(UNIX)
2018-02-19 20:07:10 +00:00
${PULSEAUDIO_LIBRARY})
endif()
2017-04-19 20:48:37 +00:00
+ 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)