yolobs-studio/debian/patches/0006-Add-SONAME.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
651 B
Diff
Raw Normal View History

2018-12-16 16:55:35 +00:00
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 6a88b12..a86262e 100644
2018-12-16 16:55:35 +00:00
--- a/deps/obs-scripting/CMakeLists.txt
+++ b/deps/obs-scripting/CMakeLists.txt
@@ -212,6 +212,11 @@ if(UNIX)
2018-12-16 17:05:42 +00:00
PROPERTIES COMPILE_FLAGS "-fvisibility=hidden")
endif()
2018-12-16 16:55:35 +00:00
+set_target_properties(obs-scripting PROPERTIES
+ OUTPUT_NAME obs-scripting
+ VERSION "0"
+ SOVERSION "0")
+
target_link_libraries(obs-scripting
libobs
${LUAJIT_LIBRARIES}