configure: correctly set LD_NO_UNDEFINED
Commit 11623be934
was meant to have this hunk, which
I accidently dropped during git rebase.
Cc: 10.2 <mesa-stable@lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Julien Cristau <jcristau@debian.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Jonathan Gray <jsg@jsg.id.au>
This commit is contained in:
parent
8a9f5ecdb1
commit
f57d092199
13
configure.ac
13
configure.ac
|
@ -331,6 +331,19 @@ LDFLAGS=$save_LDFLAGS
|
||||||
|
|
||||||
AC_SUBST([GC_SECTIONS])
|
AC_SUBST([GC_SECTIONS])
|
||||||
|
|
||||||
|
dnl
|
||||||
|
dnl OpenBSD does not have DT_NEEDED entries for libc by design
|
||||||
|
dnl so when these flags are passed to ld via libtool the checks will fail
|
||||||
|
dnl
|
||||||
|
case "$host_os" in
|
||||||
|
openbsd*)
|
||||||
|
LD_NO_UNDEFINED="" ;;
|
||||||
|
*)
|
||||||
|
LD_NO_UNDEFINED="-Wl,--no-undefined" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
AC_SUBST([LD_NO_UNDEFINED])
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
dnl compatibility symlinks
|
dnl compatibility symlinks
|
||||||
dnl
|
dnl
|
||||||
|
|
Loading…
Reference in New Issue