From ac2caa0f22a134bec566bef03c0152e59b46e344 Mon Sep 17 00:00:00 2001 From: psychon Date: Sat, 12 Jul 2008 21:43:47 +0000 Subject: [PATCH] znc-config: Don't link in any libraries Any library the znc binary links to is automatically available to modules. So there is no point in linking modules to @LIBS@ as znc is linked against those already. modules/Makefile.in already does it this way, not also znc-config does it git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1126 726aef4b-f618-498e-8847-2d620e286838 --- znc-config.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/znc-config.in b/znc-config.in index d04b079e..e9968600 100755 --- a/znc-config.in +++ b/znc-config.in @@ -8,7 +8,9 @@ datadir="@datadir@" CXXFLAGS="@MODFLAGS@" INCLUDES="-I@prefix@/include/znc @INCLUDES@" -LIBS="@LIBS@" +# LIBS="@LIBS@" +# No libs needed, ZNC links against $LIBS and thus modules don't need to. +LIBS="" MODDIR="@MODDIR@" DATADIR="@DATADIR@" VERSION="@VERSION@"