Permalink
Browse files

Fix znc-buildmod to work with ld --as-needed. #199

  • Loading branch information...
1 parent e5af384 commit 9e4733d446507c2b33a53bdb24b33b268a05c900 @DarthGandalf DarthGandalf committed Jul 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 znc-buildmod.in
View
2 znc-buildmod.in
@@ -61,7 +61,7 @@ do
echo "${ERROR} Building \"${MOD}.so\" for ZNC $VERSION... File not found"
else
printf "Building \"${MOD}.so\" for ZNC $VERSION... "
- if ${CXX} ${CXXFLAGS} ${INCLUDES} ${LDFLAGS} ${LIBS} ${MODLINK} -o "${MOD}.so" "${FILE}" ; then
+ if ${CXX} ${CXXFLAGS} ${INCLUDES} ${LDFLAGS} ${MODLINK} -o "${MOD}.so" "${FILE}" ${LIBS} ; then
echo "${OK}"
else
echo "${ERROR} Error while building \"${MOD}.so\""

0 comments on commit 9e4733d

Please sign in to comment.