$NetBSD: patch-plugins_mht_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/mht/Makefile.am.orig 2011-11-15 21:25:46.000000000 +0000 +++ plugins/mht/Makefile.am @@ -11,7 +11,7 @@ mht_la_LIBADD = \ mht_la_LDFLAGS = \ -avoid-version \ -module \ - -no-undefined + -Wl,-no-undefined mht_la_SOURCES = nodist_EXTRA_mht_la_SOURCES = dummy.cpp