use OBS_PLUGIN_DESTINATION for module_bin
This commit is contained in:
parent
c7030e8d7e
commit
269d8414f9
2 changed files with 24 additions and 0 deletions
22
debian/patches/0002-use-multiarch-compatible-plugin-lib-path.patch
vendored
Normal file
22
debian/patches/0002-use-multiarch-compatible-plugin-lib-path.patch
vendored
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
From: =?utf-8?q?Carl_F=C3=BCrstenberg?= <azatoth@gmail.com>
|
||||||
|
Date: Tue, 6 Jan 2015 23:43:30 +0100
|
||||||
|
Subject: use multiarch compatible plugin lib path
|
||||||
|
|
||||||
|
use OBS_PLUGIN_DESTINATION instead of hardcoded path for module_bin
|
||||||
|
---
|
||||||
|
libobs/obs-nix.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/libobs/obs-nix.c b/libobs/obs-nix.c
|
||||||
|
index f7f2af3..ea425d5 100644
|
||||||
|
--- a/libobs/obs-nix.c
|
||||||
|
+++ b/libobs/obs-nix.c
|
||||||
|
@@ -38,7 +38,7 @@ const char *get_module_extension(void)
|
||||||
|
|
||||||
|
static const char *module_bin[] = {
|
||||||
|
"../../obs-plugins/" BIT_STRING,
|
||||||
|
- OBS_INSTALL_PREFIX "lib/obs-plugins",
|
||||||
|
+ OBS_INSTALL_PREFIX "/" OBS_PLUGIN_DESTINATION
|
||||||
|
};
|
||||||
|
|
||||||
|
static const char *module_data[] = {
|
2
debian/patches/series
vendored
Normal file
2
debian/patches/series
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
0001-Use-common-license.patch
|
||||||
|
0002-use-multiarch-compatible-plugin-lib-path.patch
|
Loading…
Reference in a new issue