Original commit message from CVS:
hacked around LADSPA_PATH as suggested to wingo
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <glib.h>
/*****************************************************************************/
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) {
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
+#include <glib.h>
/*****************************************************************************/
const char * pcLADSPAPath;
const char * pcStart;
- 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) {
/* fprintf(stderr, */
/* "Warning: You do not have a LADSPA_PATH " */