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:
parent
c219a53402
commit
d9dfd9cded
1 changed files with 2 additions and 1 deletions
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*)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue