diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2002-06-04 19:32:16 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2002-06-04 19:32:16 +0000 |
commit | e4b416a7998e7fb6074a45115b85f8f833486fec (patch) | |
tree | 39725efb65655e9948bd812a32ebc534b142a029 /ext/ladspa/load.c | |
parent | 3886a21f8aa60ca28e0b49103129b3eaaf165df2 (diff) | |
download | gst-plugins-bad-e4b416a7998e7fb6074a45115b85f8f833486fec.tar.gz gst-plugins-bad-e4b416a7998e7fb6074a45115b85f8f833486fec.tar.bz2 gst-plugins-bad-e4b416a7998e7fb6074a45115b85f8f833486fec.zip |
hacked around LADSPA_PATH as suggested to wingo
Original commit message from CVS:
hacked around LADSPA_PATH as suggested to wingo
Diffstat (limited to 'ext/ladspa/load.c')
-rw-r--r-- | ext/ladspa/load.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ext/ladspa/load.c b/ext/ladspa/load.c index 148f98fb..c912106f 100644 --- a/ext/ladspa/load.c +++ b/ext/ladspa/load.c @@ -9,6 +9,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <glib.h> /*****************************************************************************/ @@ -53,7 +54,12 @@ dlopenLADSPA(const char * pcFilename, int iFlag) { LD_LIBRARY_PATH, whereas the LADSPA_PATH is the correct place to search. */ - pcLADSPAPath = getenv("LADSPA_PATH"); + /* thomasvs: I'm sorry, but I'm going to add glib stuff here. + * I'm appending logical values for LADSPA_PATH here + */ + + pcLADSPAPath = g_strdup_printf ("%s:/usr/lib/ladspa:/usr/local/lib/ladspa", + getenv("LADSPA_PATH")); if (pcLADSPAPath) { |