Commit 35d288bc authored by Patrik Stridvall's avatar Patrik Stridvall Committed by Alexandre Julliard

Solaris fixes.

parent 943ba3f1
......@@ -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
......
......@@ -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",
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment