0519c2
diff -rup binutils.orig/config/plugins.m4 binutils-2.30/config/plugins.m4
0519c2
--- binutils.orig/config/plugins.m4	2019-02-18 16:11:38.392440473 +0000
0519c2
+++ binutils-2.30/config/plugins.m4	2019-02-18 16:11:44.715393846 +0000
0519c2
@@ -16,6 +16,6 @@ AC_DEFUN([AC_PLUGINS],
0519c2
     [plugins=$maybe_plugins]
0519c2
   )
0519c2
   if test "$plugins" = "yes"; then
0519c2
-    AC_SEARCH_LIBS([dlopen], [dl])
0519c2
+    AC_SEARCH_LIBS([dlsym], [dl])
0519c2
   fi
0519c2
 ])