yolobs-studio/debian/patches/0006-Add-SONAME.patch
Simon Chopin 34aa2c5c96 Refresh the license display patches
They have been partially obsoleted by the following pull request
upstream:

  https://github.com/obsproject/obs-studio/pull/1435
2019-07-27 15:45:54 +02:00

24 lines
651 B
Diff

From: Sebastian Ramacher <sramacher@debian.org>
Date: Sun, 16 Dec 2018 17:38:34 +0100
Subject: Add SONAME
---
deps/obs-scripting/CMakeLists.txt | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/deps/obs-scripting/CMakeLists.txt b/deps/obs-scripting/CMakeLists.txt
index dff5370..a79d1f0 100644
--- a/deps/obs-scripting/CMakeLists.txt
+++ b/deps/obs-scripting/CMakeLists.txt
@@ -172,6 +172,11 @@ if(UNIX)
PROPERTIES COMPILE_FLAGS "-fvisibility=hidden")
endif()
+set_target_properties(obs-scripting PROPERTIES
+ OUTPUT_NAME obs-scripting
+ VERSION "0"
+ SOVERSION "0")
+
target_link_libraries(obs-scripting
libobs
${LUAJIT_LIBRARIES}