Merge branch 'next'

* next:
  chore, add -shared to AM_MODFLAGS so static DSOs won't be built/installed