--- m4/ltdl.m4.orig 2016-09-14 02:21:40.828495000 +0200 +++ m4/ltdl.m4 2016-09-14 02:22:15.107898000 +0200 @@ -473,7 +473,7 @@ # If you are looking for one http://www.opendarwin.org/projects/dlcompat lt_cv_sys_dlopen_deplibs=yes ;; - freebsd* | dragonfly*) + bsdsunix* | freebsd* | dragonfly*) lt_cv_sys_dlopen_deplibs=yes ;; gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)