Solaris fixes.
This commit is contained in:
parent
943ba3f1bc
commit
35d288bca1
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue