$NetBSD: patch-plugins_ots_Makefile.am,v 1.1 2015/09/13 21:32:13 nros Exp $ GCC 4.6+ chokes on "--no-undefined" which older versions of GCC let fall to the linker. Prefix with "-Wl," to fix build. --- plugins/ots/Makefile.am.orig 2011-11-15 21:25:46.000000000 +0000 +++ plugins/ots/Makefile.am @@ -9,6 +9,7 @@ ots_la_LIBADD = \ $(OTS_LIBS) ots_la_LDFLAGS = \ + -Wl, \ -avoid-version \ -module \ -no-undefined