Add SONAME to obs-scripting
This commit is contained in:
parent
8bb3a0deb7
commit
7dd3ba58b7
2 changed files with 25 additions and 0 deletions
24
debian/patches/0007-Add-SONAME.patch
vendored
Normal file
24
debian/patches/0007-Add-SONAME.patch
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
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 835c1b3..8aa6441 100644
|
||||
--- a/deps/obs-scripting/CMakeLists.txt
|
||||
+++ b/deps/obs-scripting/CMakeLists.txt
|
||||
@@ -160,6 +160,11 @@ add_library(obs-scripting SHARED
|
||||
${SWIG_LUA_RUNTIME}
|
||||
)
|
||||
|
||||
+set_target_properties(obs-scripting PROPERTIES
|
||||
+ OUTPUT_NAME obs-scripting
|
||||
+ VERSION "0"
|
||||
+ SOVERSION "0")
|
||||
+
|
||||
target_link_libraries(obs-scripting
|
||||
libobs
|
||||
${LUAJIT_LIBRARIES}
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
|
@ -4,3 +4,4 @@
|
|||
0004-Link-with-libm-and-libdl-to-fix-underlinking.patch
|
||||
0005-Link-with-xcb-and-X-libraries-to-fix-underlinking.patch
|
||||
0006-Do-not-display-license-on-first-startup.patch
|
||||
0007-Add-SONAME.patch
|
||||
|
|
Loading…
Reference in a new issue