Merge pull request #758 from jpnurmi/buildmod

znc-buildmod: build output to the current working directory
This commit is contained in:
Alexey Sokolov
2014-11-26 22:50:54 +00:00
+2 -1
View File
@@ -51,9 +51,10 @@ do
MOD="${FILE%.cpp}"
MOD="${MOD%.cc}"
MOD="${MOD##*/}"
if test ! -f "${FILE}"; then
echo "${ERROR} Building \"${MOD}.so\" for ZNC $VERSION... File not found"
echo "${ERROR} Building \"${MOD}\" for ZNC $VERSION... File not found"
else
printf "Building \"${MOD}.so\" for ZNC $VERSION... "
if ${CXX} ${CXXFLAGS} ${INCLUDES} ${LDFLAGS} ${MODLINK} -o "${MOD}.so" "${FILE}" ${LIBS} ; then