]> jfr.im git - irc/evilnet/znc.git/commitdiff
Fix znc-buildmod on cygwin in 1.6.x versions.
authorAlexey Sokolov <redacted>
Tue, 26 Jan 2016 23:56:29 +0000 (23:56 +0000)
committerAlexey Sokolov <redacted>
Wed, 27 Jan 2016 00:00:22 +0000 (00:00 +0000)
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
znc-buildmod.in

index 8e3b70aab7f6801ee834ae919b0675bbba5c7932..24ea8547f59b2e3dd34c47a47493235f914c0b22 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 8e3b70aab7f6801ee834ae919b0675bbba5c7932
+Subproject commit 24ea8547f59b2e3dd34c47a47493235f914c0b22
index f1c9cccfd6c45c660449738a90e6a403f341e24b..553bedf840c88bcfb0bd32beeba7624de52c410d 100755 (executable)
@@ -42,7 +42,7 @@ else
     LIBZNCFLAGS="-L$LIBZNCDIR -lznc"
 fi
 
-LDFLAGS="$LIBZNCFLAGS $LDFLAGS"
+LIBS="$LIBZNCFLAGS $LIBS"
 
 while test ! -z "$1"
 do