]> git.sesse.net Git - mlt/commitdiff
Add relative frei0r and LADSPA dirs for relocatable.
authorDan Dennedy <dan@dennedy.org>
Sun, 25 Sep 2011 19:45:58 +0000 (12:45 -0700)
committerDan Dennedy <dan@dennedy.org>
Sun, 25 Sep 2011 20:59:21 +0000 (13:59 -0700)
src/modules/frei0r/factory.c
src/modules/jackrack/plugin_mgr.c

index 8be2b0f1c8985b17f8449eb7d00c3f04fd053e1f..d7b39e2987ab76fbb8dd49b65576c86119271547 100644 (file)
@@ -37,7 +37,7 @@
 #define FREI0R_PLUGIN_PATH "lib\\frei0r-1"
 #else
 #define LIBSUF ".so"
-#define FREI0R_PLUGIN_PATH "/usr/lib/frei0r-1:/usr/lib64/frei0r-1:/opt/local/lib/frei0r-1:/usr/local/lib/frei0r-1:$HOME/.frei0r-1/lib"
+#define FREI0R_PLUGIN_PATH "lib/frei0r-1:/usr/lib/frei0r-1:/usr/lib64/frei0r-1:/opt/local/lib/frei0r-1:/usr/local/lib/frei0r-1:$HOME/.frei0r-1/lib"
 #endif
 
 #define GET_FREI0R_PATH (getenv("FREI0R_PATH") ? getenv("FREI0R_PATH") : getenv("MLT_FREI0R_PLUGIN_PATH") ? getenv("MLT_FREI0R_PLUGIN_PATH") : FREI0R_PLUGIN_PATH)
index 032d78f3444048ccc96c2c2edcc4b30f4abc2298..6a28a294cd88eb0789e8963f9bc227902a001283 100644 (file)
@@ -216,7 +216,7 @@ plugin_mgr_get_path_plugins (plugin_mgr_t * plugin_mgr)
 #ifdef WIN32
     ladspa_path = g_strdup ("lib\\ladspa");
 #else
-    ladspa_path = g_strdup ("/usr/local/lib/ladspa:/usr/lib/ladspa:/usr/lib64/ladspa");
+    ladspa_path = g_strdup ("lib/ladspa:/usr/local/lib/ladspa:/usr/lib/ladspa:/usr/lib64/ladspa");
 #endif
   
   dir = strtok (ladspa_path, ":");