haiwen/ccnet — pull request #72 by yason (2014-09-11 11:04:45+00:00)
Title: Don't hardcode -levent in linker flags. Use @LIBEVENT_LIBS@ instead

Hi!
This patch helps different systems to set different linker flags for libevent2. In Linux it's set to -levent (as it was previously hardcoded) and in BSD it's set to -levent_core -levent_extra.
Tested on RHEL6.4 and OpenBSD.