From 26b959dbf590cfa5791d20516855c51476041174 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Tue, 26 Jan 2016 23:56:29 +0000 Subject: [PATCH 1/2] Fix znc-buildmod on cygwin in 1.6.x versions. Cygwin's gcc requires -lznc to be after .o which needs symbols from -lznc It's already fixed in 1.7.x in a better way, but that way requires more changes... --- third_party/Csocket | 2 +- znc-buildmod.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/third_party/Csocket b/third_party/Csocket index 8e3b70aa..24ea8547 160000 --- a/third_party/Csocket +++ b/third_party/Csocket @@ -1 +1 @@ -Subproject commit 8e3b70aab7f6801ee834ae919b0675bbba5c7932 +Subproject commit 24ea8547f59b2e3dd34c47a47493235f914c0b22 diff --git a/znc-buildmod.in b/znc-buildmod.in index f1c9cccf..553bedf8 100755 --- a/znc-buildmod.in +++ b/znc-buildmod.in @@ -42,7 +42,7 @@ else LIBZNCFLAGS="-L$LIBZNCDIR -lznc" fi -LDFLAGS="$LIBZNCFLAGS $LDFLAGS" +LIBS="$LIBZNCFLAGS $LIBS" while test ! -z "$1" do From e7dd61c55c33b0797c1223c041966a4f46e34852 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Wed, 27 Jan 2016 08:11:06 +0000 Subject: [PATCH 2/2] Fix Csocket after previous commit... --- third_party/Csocket | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/Csocket b/third_party/Csocket index 24ea8547..8e3b70aa 160000 --- a/third_party/Csocket +++ b/third_party/Csocket @@ -1 +1 @@ -Subproject commit 24ea8547f59b2e3dd34c47a47493235f914c0b22 +Subproject commit 8e3b70aab7f6801ee834ae919b0675bbba5c7932