mirror of
https://github.com/znc/znc.git
synced 2026-05-18 07:15:54 +02:00
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:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user