Two patches will follow, that make it slightly easier to package syslog-ng and to build external modules against it. The first will change the SONAME of libsyslog-ng, from libsyslog-ng.so.0 to libsyslog-ng-${VERSION} (as of this writing, this would be libsyslog-ng-3.3.0beta2.so). The rationale behind this, is that at the moment, there are no guarantees that either ABI or API will be preserved between versions, so it's easier and more straightforward to tie the library to a particular syslog-ng version instead. The other patch adds moduledir to the pkg-config file, so that external modules can easily figure out where to install themselves, without resorting to guessing and parsing syslog-ng --help output (where syslog-ng might not even be available in the build chroot..).