Skip to content

Commit

Permalink
Disable adding libthrift to all binaries if libthrift was found by co…
Browse files Browse the repository at this point in the history
…nfigure (sonic-net#175)
  • Loading branch information
pavel-shirshov authored Apr 21, 2017
1 parent 230f322 commit f041648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ AC_ARG_ENABLE(rpcserver,
esac],[rpcserver=false])
AM_CONDITIONAL(SAITHRIFT, test x$rpcserver = xtrue)
AM_COND_IF([SAITHRIFT], [
AC_CHECK_LIB([thrift], [main], [], [AC_MSG_ERROR(libthrift is required for rpcserver)])
AC_CHECK_LIB([thrift], [main], [AC_MSG_NOTICE(libthrift found)], [AC_MSG_ERROR(libthrift is required for rpcserver)])
])

CFLAGS_COMMON=""
Expand Down

0 comments on commit f041648

Please sign in to comment.