From 4cf7a22f24bd13041f340bc3fbe00cc41fdd9b67 Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Mon, 27 Jan 2014 17:58:46 -0800 Subject: [PATCH] ensure push.so is linked with libcurl properly It looks as if the push module was not actually linking against the libcurl shared library without these additional flags being passed. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2e295ba..321057a 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ endif push.so: push.cpp sed -i -e "s|PUSHVERSION \".*\"|PUSHVERSION \"$(version)\"|" push.cpp - CXXFLAGS="$(CXXFLAGS) $(flags)" znc-buildmod push.cpp + CXXFLAGS="$(CXXFLAGS) $(flags)" LIBS="$(LIBS) $(flags)" znc-buildmod push.cpp sed -i -e "s|PUSHVERSION \".*\"|PUSHVERSION \"dev\"|" push.cpp install: push.so