Refresh patches again
This commit is contained in:
parent
7dd3ba58b7
commit
e80058fcf0
2 changed files with 31 additions and 7 deletions
26
debian/patches/0002-Hide-internal-symbols.patch
vendored
26
debian/patches/0002-Hide-internal-symbols.patch
vendored
|
@ -3,10 +3,34 @@ Date: Wed, 19 Apr 2017 21:45:40 +0200
|
||||||
Subject: Hide internal symbols
|
Subject: Hide internal symbols
|
||||||
|
|
||||||
---
|
---
|
||||||
|
deps/obs-scripting/CMakeLists.txt | 12 ++++++++++++
|
||||||
libobs/CMakeLists.txt | 4 ++++
|
libobs/CMakeLists.txt | 4 ++++
|
||||||
libobs/util/c99defs.h | 2 +-
|
libobs/util/c99defs.h | 2 +-
|
||||||
2 files changed, 5 insertions(+), 1 deletion(-)
|
3 files changed, 17 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/deps/obs-scripting/CMakeLists.txt b/deps/obs-scripting/CMakeLists.txt
|
||||||
|
index 835c1b3..dff5370 100644
|
||||||
|
--- a/deps/obs-scripting/CMakeLists.txt
|
||||||
|
+++ b/deps/obs-scripting/CMakeLists.txt
|
||||||
|
@@ -160,6 +160,18 @@ add_library(obs-scripting SHARED
|
||||||
|
${SWIG_LUA_RUNTIME}
|
||||||
|
)
|
||||||
|
|
||||||
|
+if(UNIX)
|
||||||
|
+ set_source_files_properties(${obs-scripting_SOURCES}
|
||||||
|
+ ${obs-scripting_HEADERS}
|
||||||
|
+ ${obs-scripting-python_SOURCES}
|
||||||
|
+ ${obs-scripting-python_HEADERS}
|
||||||
|
+ ${obs-scripting-lua_SOURCES}
|
||||||
|
+ ${obs-scripting-lua_HEADERS}
|
||||||
|
+ ${SWIG_PY_RUNTIME}
|
||||||
|
+ ${SWIG_LUA_RUNTIME}
|
||||||
|
+ PROPERTIES COMPILE_FLAGS "-fvisibility=hidden")
|
||||||
|
+endif()
|
||||||
|
+
|
||||||
|
target_link_libraries(obs-scripting
|
||||||
|
libobs
|
||||||
|
${LUAJIT_LIBRARIES}
|
||||||
diff --git a/libobs/CMakeLists.txt b/libobs/CMakeLists.txt
|
diff --git a/libobs/CMakeLists.txt b/libobs/CMakeLists.txt
|
||||||
index bddfa5c..41ed749 100644
|
index bddfa5c..41ed749 100644
|
||||||
--- a/libobs/CMakeLists.txt
|
--- a/libobs/CMakeLists.txt
|
||||||
|
|
8
debian/patches/0007-Add-SONAME.patch
vendored
8
debian/patches/0007-Add-SONAME.patch
vendored
|
@ -7,12 +7,12 @@ Subject: Add SONAME
|
||||||
1 file changed, 5 insertions(+)
|
1 file changed, 5 insertions(+)
|
||||||
|
|
||||||
diff --git a/deps/obs-scripting/CMakeLists.txt b/deps/obs-scripting/CMakeLists.txt
|
diff --git a/deps/obs-scripting/CMakeLists.txt b/deps/obs-scripting/CMakeLists.txt
|
||||||
index 835c1b3..8aa6441 100644
|
index dff5370..a79d1f0 100644
|
||||||
--- a/deps/obs-scripting/CMakeLists.txt
|
--- a/deps/obs-scripting/CMakeLists.txt
|
||||||
+++ b/deps/obs-scripting/CMakeLists.txt
|
+++ b/deps/obs-scripting/CMakeLists.txt
|
||||||
@@ -160,6 +160,11 @@ add_library(obs-scripting SHARED
|
@@ -172,6 +172,11 @@ if(UNIX)
|
||||||
${SWIG_LUA_RUNTIME}
|
PROPERTIES COMPILE_FLAGS "-fvisibility=hidden")
|
||||||
)
|
endif()
|
||||||
|
|
||||||
+set_target_properties(obs-scripting PROPERTIES
|
+set_target_properties(obs-scripting PROPERTIES
|
||||||
+ OUTPUT_NAME obs-scripting
|
+ OUTPUT_NAME obs-scripting
|
||||||
|
|
Loading…
Reference in a new issue