mirror of
https://github.com/znc/znc.git
synced 2026-07-03 16:31:49 +02:00
Fix znc-buildmod on cygwin after rename of library
This commit is contained in:
@@ -474,6 +474,7 @@ if test -z "$ISCYGWIN" ; then
|
||||
appendMod -fPIC
|
||||
else
|
||||
# But cygwin does want most of ZNC in a shared lib
|
||||
# See https://cygwin.com/ml/cygwin-apps/2015-07/msg00108.html for the reasoning behind the name.
|
||||
LIBZNC="cygznc-${LIBZNC_VERSION}.dll"
|
||||
LIBZNCDIR="$bindir"
|
||||
fi
|
||||
|
||||
+2
-1
@@ -36,10 +36,11 @@ VERSION="@PACKAGE_VERSION@"
|
||||
# Ugly cygwin stuff :(
|
||||
LIBZNC="@LIBZNC@"
|
||||
LIBZNCDIR="@LIBZNCDIR@"
|
||||
LIBZNC_VERSION="@LIBZNC_VERSION@"
|
||||
if test "x" = "x$LIBZNC"; then
|
||||
LIBZNCFLAGS=""
|
||||
else
|
||||
LIBZNCFLAGS="-L\"$LIBZNCDIR\" -lznc"
|
||||
LIBZNCFLAGS="-L\"$LIBZNCDIR\" -lznc-$LIBZNC_VERSION"
|
||||
fi
|
||||
|
||||
LDFLAGS="$LIBZNCFLAGS $LDFLAGS"
|
||||
|
||||
Reference in New Issue
Block a user