From 37b70a2949ca053919eaea770d87fdbc3d1e72c0 Mon Sep 17 00:00:00 2001 From: darthgandalf Date: Sat, 15 Jan 2011 05:10:43 +0000 Subject: [PATCH] Fix build on cygwin. All shared objects produced a warning, and ZNC couldn't start after make install. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2265 726aef4b-f618-498e-8847-2d620e286838 --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index fda8bebe..baec68ee 100644 --- a/configure.ac +++ b/configure.ac @@ -258,7 +258,7 @@ AC_ARG_WITH( [module-data-prefix], appendMod "$CXXFLAGS" -if test -z "$ISSUN" -a -z "$ISDARWIN"; then +if test -z "$ISSUN" -a -z "$ISDARWIN" -a -z "$ISCYGWIN"; then # This is an unknown compiler flag on some OS appendLD -Wl,--export-dynamic fi @@ -270,7 +270,7 @@ if test -z "$ISCYGWIN" ; then else # But cygwin does want most of znc in a shared lib LIBZNC="libznc.dll" - LIBZNCDIR="$libdir/znc" + LIBZNCDIR="$bindir" fi if test -z "$ISDARWIN"; then