--- configure.orig 2015-04-30 10:51:26 UTC +++ configure @@ -3911,7 +3911,7 @@ $as_echo_n "checking if we can link with ia64-*hp-hpux11* ) PYTHON_LIBS="-ldld -ldl -lm -Wl,-E ${PYTHON_LIBS}" ;; - *-freebsd* ) + *-freebsd* | *-dragonfly* ) PYTHON_LIBS="-lm -lutil ${PYTHON_LIBS}" ;; esac