--- config.rpath.orig 2021-06-03 10:22:08.000000000 +0000 +++ config.rpath 2021-11-25 14:44:36.873060000 +0000 @@ -321,6 +321,10 @@ # see comment about different semantics on the GNU ld section ld_shlibs=no ;; + bsdsunix*) + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + ;; bsdi[45]*) ;; cygwin* | mingw* | pw32*) @@ -516,7 +520,7 @@ ;; kfreebsd*-gnu) ;; - freebsd* | dragonfly*) + bsdsunix* | freebsd* | dragonfly*) ;; gnu*) ;;