Solaris fixes.

This commit is contained in:
Patrik Stridvall 2000-12-18 03:13:52 +00:00 committed by Alexandre Julliard
parent 943ba3f1bc
commit 35d288bca1
3 changed files with 9 additions and 3 deletions

2
configure vendored
View File

@ -4806,7 +4806,7 @@ fi
echo "$ac_t""$ac_cv_c_dll_unixware" 1>&6
if test "$ac_cv_c_dll_unixware" = "yes"
then
LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,h,\$(libdir)/%)"
LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,\$(libdir)/%)"
LDDLLFLAGS="-Wl,-B,symbolic"
else
echo $ac_n "checking "whether we can build a NetBSD dll"""... $ac_c" 1>&6

View File

@ -557,7 +557,7 @@ then
])
if test "$ac_cv_c_dll_unixware" = "yes"
then
LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,h,\$(libdir)/%)"
LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,\$(libdir)/%)"
LDDLLFLAGS="-Wl,-B,symbolic"
else
AC_CACHE_CHECK("whether we can build a NetBSD dll",

View File

@ -44,7 +44,13 @@ static int name_cmp( const void *name, const void *entry )
/* locate a symbol in a (sorted) list */
inline static const char *find_symbol( const char *name, char **table, int size )
{
char **res = bsearch( &name, table, size, sizeof(*table), name_cmp );
char **res = NULL;
if (table) {
res = bsearch( &name, table, size, sizeof(*table), name_cmp );
}
return res ? *res : NULL;
}