Description: fix install path of libraries

 the last remaining infraction to the FHS... the private libraries of
 charybdis need to be out of the main /usr/lib. --libdir works for
 makefiles, but doesn't get propagated down into config.h.

Author: Antoine Beaupré <anarcat@koumbit.org>
Origin: debian
Bug-Debian: http://bugs.debian.org/485553
Bug: https://github.com/atheme/charybdis/issues/26
Last-Update: 2013-06-05

diff --git a/include/config.h b/include/config.h
index cc1ab2f..8511e9a 100644
--- a/include/config.h
+++ b/include/config.h
@@ -50,7 +50,7 @@
 /* dirs */
 #define DPATH   IRCD_PREFIX
 #define BINPATH IRCD_PREFIX "/bin/"
-#define LIBPATH IRCD_PREFIX "/lib/"
+#define LIBPATH LIBDIR
 #define MODPATH MODULE_DIR
 #define AUTOMODPATH MODULE_DIR "/autoload/"
 #define ETCPATH ETC_DIR 
