diff --git plugins plugins index 8506763 db05c5d 100644 --- plugins pl

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
diff --git a/plugins.c b/plugins.c
index 8506763..db05c5d 100644
--- a/plugins.c
+++ b/plugins.c
@@ -303,7 +303,7 @@ plug_load_all (void) {
#endif
mutex = mutex_create ();
char dirname[1024];
- snprintf (dirname, 1024, "%s/lib/deadbeef", PREFIX);
+ snprintf (dirname, 1024, "%s/deadbeef", LIBDIR);
struct dirent **namelist = NULL;
int n = scandir (dirname, &namelist, NULL, alphasort);
if (n < 0)