summarylogtreecommitdiffstats
path: root/000_install_path.patch
blob: 78f047cc55435f85f007c3724d37893a89b00239 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,10 @@ RENDERER_SRC = src/qtwebkit-renderer.cpp
 RENDERER_OBJ = build/qtwebkit-renderer.o
 
 PLUGIN_BUILD_DIR = build/qtwebkit-browser
-PLUGIN_INSTALL_DIR = ~/.config/obs-studio/plugins
+PLUGIN_INSTALL_DIR = /usr/share/obs/obs-plugins
+ifdef PREFIX
+PLUGIN_INSTALL_DIR := $(PREFIX)$(PLUGIN_INSTALL_DIR)
+endif
 ifdef OBS_PLUGIN_INSTALL_OLD
 PLUGIN_INSTALL_DIR = ~/.obs-studio/plugins
 endif