From 7dd3ba58b7cc2001b139d75ff4f8613ff1231907 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Sun, 16 Dec 2018 17:55:35 +0100 Subject: [PATCH] Add SONAME to obs-scripting --- debian/patches/0007-Add-SONAME.patch | 24 ++++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 25 insertions(+) create mode 100644 debian/patches/0007-Add-SONAME.patch diff --git a/debian/patches/0007-Add-SONAME.patch b/debian/patches/0007-Add-SONAME.patch new file mode 100644 index 0000000..ccd82dd --- /dev/null +++ b/debian/patches/0007-Add-SONAME.patch @@ -0,0 +1,24 @@ +From: Sebastian Ramacher +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} diff --git a/debian/patches/series b/debian/patches/series index 1c81bde..066dbfb 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -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