d408159
diff -Nur audacity-src-1.3.5-beta-orig/src/effects/ladspa/LoadLadspa.cpp audacity-src-1.3.5-beta/src/effects/ladspa/LoadLadspa.cpp
d408159
--- audacity-src-1.3.5-beta-orig/src/effects/ladspa/LoadLadspa.cpp	2008-05-07 23:19:50.000000000 +0200
d408159
+++ audacity-src-1.3.5-beta/src/effects/ladspa/LoadLadspa.cpp	2008-11-04 14:21:26.000000000 +0100
d408159
@@ -92,8 +92,8 @@
d408159
 
d408159
    #ifdef __WXGTK__
d408159
    wxGetApp().AddUniquePathToPathList(wxT(INSTALL_PREFIX) wxT("/ladspa"), pathList);
d408159
-   wxGetApp().AddUniquePathToPathList(wxT("/usr/local/lib/ladspa"), pathList);
d408159
-   wxGetApp().AddUniquePathToPathList(wxT("/usr/lib/ladspa"), pathList);
d408159
+   wxGetApp().AddUniquePathToPathList(wxT("/usr/local/__RPM_LIB__/ladspa"), pathList);
d408159
+   wxGetApp().AddUniquePathToPathList(wxT("__RPM_LIBDIR__/ladspa"), pathList);
d408159
    #endif
d408159
 
d408159
    #ifdef __WXMAC__