d7fd6d3
--- Csound5.10.1/Top/csmodule.c.orig	2009-03-31 00:09:56.000000000 +0100
d7fd6d3
+++ Csound5.10.1/Top/csmodule.c	2009-03-31 00:21:59.000000000 +0100
d7fd6d3
@@ -126,17 +126,20 @@
d7fd6d3
 #else
0c57b86
 #if !(defined(_CSOUND_RELEASE_) && (defined(LINUX) || defined(__MACH__)))
0c57b86
 #  define ENABLE_OPCODEDIR_WARNINGS 1
0c57b86
-#  ifdef CS_DEFAULT_PLUGINDIR
0c57b86
-#    undef CS_DEFAULT_PLUGINDIR
0c57b86
+#  ifndef CS_DEFAULT_PLUGINDIR
0c57b86
+#    ifndef USE_DOUBLE
0c57b86
+#      define CS_DEFAULT_PLUGINDIR  "/usr/lib/csound/plugins"
0c57b86
+#    else
0c57b86
+#      define CS_DEFAULT_PLUGINDIR  "/usr/lib64/csound/plugins"
0c57b86
+#    endif
0c57b86
 #  endif
0c57b86
-#  define CS_DEFAULT_PLUGINDIR      "."
0c57b86
 #else
0c57b86
 #  define ENABLE_OPCODEDIR_WARNINGS 0
0c57b86
 #  ifndef CS_DEFAULT_PLUGINDIR
0c57b86
 #    ifndef USE_DOUBLE
0c57b86
-#      define CS_DEFAULT_PLUGINDIR  "/usr/local/lib/csound/plugins"
d7fd6d3
-#    Else
0c57b86
-#      define CS_DEFAULT_PLUGINDIR  "/usr/local/lib/csound/plugins64"
d7fd6d3
+#      define CS_DEFAULT_PLUGINDIR  "/usr/lib/csound/plugins"
d7fd6d3
+#    else
0c57b86
+#      define CS_DEFAULT_PLUGINDIR  "/usr/lib64/csound/plugins"
0c57b86
 #    endif
0c57b86
 #  endif
0c57b86
 #endif