Blame SOURCES/binutils-plugins-need-dlsym.patch

fac4ff
--- binutils.orig/config/plugins.m4	2019-05-14 13:04:26.467925154 +0100
fac4ff
+++ binutils-2.30/config/plugins.m4	2019-05-14 13:05:36.961396058 +0100
fac4ff
@@ -10,12 +10,13 @@ AC_DEFUN([AC_PLUGINS],
fac4ff
       no) plugins=no ;;
fac4ff
       *) plugins=yes
fac4ff
          if test "$maybe_plugins" != "yes" ; then
fac4ff
-	   AC_MSG_ERROR([Building with plugin support requires a host that supports dlopen.])
fac4ff
+	   AC_MSG_ERROR([Building with plugin support requires a host that supports dlopen and dlsym.])
fac4ff
 	 fi ;;
fac4ff
      esac],
fac4ff
     [plugins=$maybe_plugins]
fac4ff
   )
fac4ff
   if test "$plugins" = "yes"; then
fac4ff
     AC_SEARCH_LIBS([dlopen], [dl])
fac4ff
+    AC_SEARCH_LIBS([dlsym], [dl])
fac4ff
   fi
fac4ff
 ])