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
This commit is contained in:
darthgandalf
2011-01-15 05:10:43 +00:00
parent bf6dc459db
commit 37b70a2949
+2 -2
View File
@@ -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