mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-21 01:40:57 +08:00
Fix testsuite failure of lt_dlopenadvise test on FreeMiNT.
* tests/lt_dladvise.at (lt_dlopenadvise library loading): Do not build moddepend for systems without shared libraries. Report by Alan Hourihane. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
parent
f578833bb8
commit
efe1cfec71
@ -1,5 +1,10 @@
|
||||
2009-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
Fix testsuite failure of lt_dlopenadvise test on FreeMiNT.
|
||||
* tests/lt_dladvise.at (lt_dlopenadvise library loading): Do not
|
||||
build moddepend for systems without shared libraries.
|
||||
Report by Alan Hourihane.
|
||||
|
||||
testsuite: avoid failures due to old Automake.
|
||||
* tests/configure-iface.at (installable libltdl)
|
||||
(--with-ltdl-include/lib, --with-included-ltdl):
|
||||
|
@ -1,6 +1,6 @@
|
||||
# lt_dladvise.at -- test libltdl functionality -*- Autotest -*-
|
||||
#
|
||||
# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc.
|
||||
# Written by Gary V. Vaughan, 2007
|
||||
#
|
||||
# This file is part of GNU Libtool.
|
||||
@ -318,8 +318,11 @@ dlpreloadable='preload'
|
||||
# are reporting not able to accept the global hint to lt_dlopenadvise(). #
|
||||
# ------------------------------------------------------------------------- #
|
||||
|
||||
case $host_os in
|
||||
cygwin* | mingw* | cegcc*)
|
||||
have_shared=false
|
||||
$LIBTOOL --features | grep 'enable shared libraries' >/dev/null && have_shared=:
|
||||
|
||||
case $host_os,$have_shared in
|
||||
cygwin* | mingw* | cegcc* | *,false)
|
||||
# These hosts do not support linking without -no-undefined
|
||||
CPPFLAGS="$CPPFLAGS -DHAVE_UNDEFINED_SYMBOLS=0"
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user