Fix configure script on FreeBSD
* x86-64 architectures are reported as amd64 by uname -r * FreeBSD platform don't need -ldl for linking
This commit is contained in:
3
configure
vendored
3
configure
vendored
@ -54,6 +54,7 @@ case $targetos in
|
|||||||
MINGW32*) mingw32=yes;;
|
MINGW32*) mingw32=yes;;
|
||||||
DragonFly) noldl=yes;;
|
DragonFly) noldl=yes;;
|
||||||
OpenBSD) noldl=yes;;
|
OpenBSD) noldl=yes;;
|
||||||
|
FreeBSD) noldl=yes;;
|
||||||
*) ;;
|
*) ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@ -72,7 +73,7 @@ case "$cpu" in
|
|||||||
i386|i486|i586|i686|i86pc|BePC|i686-AT386)
|
i386|i486|i586|i686|i86pc|BePC|i686-AT386)
|
||||||
cpu="x86"
|
cpu="x86"
|
||||||
;;
|
;;
|
||||||
x86_64)
|
x86_64|amd64)
|
||||||
cpu="x86-64"
|
cpu="x86-64"
|
||||||
;;
|
;;
|
||||||
arm*)
|
arm*)
|
||||||
|
|||||||
Reference in New Issue
Block a user