mirror of
https://github.com/znc/znc.git
synced 2026-08-07 01:13:25 +02:00
Merge pull request #758 from jpnurmi/buildmod
znc-buildmod: build output to the current working directory
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user