--- config/get_dlld.orig 2019-01-16 07:42:07 UTC +++ config/get_dlld @@ -9,7 +9,7 @@ DLSUFFIX=so soname=.$soname_num do_dll=yes case "$osname" in - gnu*|aix|osf1|solaris|linux|freebsd|netbsd) + gnu*|aix|osf1|solaris|linux|bsdsunix|freebsd|netbsd) case $pari_release_verbose in *STABLE*) sodest=.$version.$patch;; # released version *DEVELOPMENT*) sodest=.$patch.0.0;; # unstable version @@ -34,7 +34,7 @@ esac # dlopen(NULL) should return a handle to the running process. # On FreeBSD 2.2.5 (Y. Uchikawa) and Cygwin, this does not work. case "$osname" in - freebsd|cygwin) DL_DFLT_NAME="\\\"\$(LIBPARI_DYN)\\\"" ;; + bsdsunix|freebsd|cygwin) DL_DFLT_NAME="\\\"\$(LIBPARI_DYN)\\\"" ;; mingw) DL_DFLT_NAME="\\\"\$(LIBPARI_SO)\\\"" ;; *) DL_DFLT_NAME=NULL ;; esac @@ -76,7 +76,7 @@ if test -n "$DLLD"; then case "$osname" in aix) DLLDFLAGS='-r' ;; darwin) DLLDFLAGS="-compatibility_version $compat_ver -current_version $num_ver" ;; - freebsd) DLLDFLAGS='-Bshareable -x' ;; + bsdsunix|freebsd) DLLDFLAGS='-Bshareable -x' ;; hpux) DLLDFLAGS='-b' ;; irix) DLLDFLAGS='-shared -elf -no_unresolved -all' ;; osf1) DLLDFLAGS='-shared' ;; @@ -108,7 +108,7 @@ if test -n "$DLLD"; then fi case "$osname" in # Beware: will run through 'eval' [ hence ${...} instead of \$(...) ] - gnu*|cygwin|osf1|freebsd|linux|sunos|solaris) EXTRADLLDFLAGS='-lc ${LIBS}';; + gnu*|cygwin|osf1|bsdsunix|freebsd|linux|sunos|solaris) EXTRADLLDFLAGS='-lc ${LIBS}';; esac if test "$fastread" != yes; then