Solaris fixes.
This commit is contained in:
parent
943ba3f1bc
commit
35d288bca1
2
configure
vendored
2
configure
vendored
@ -4806,7 +4806,7 @@ fi
|
|||||||
echo "$ac_t""$ac_cv_c_dll_unixware" 1>&6
|
echo "$ac_t""$ac_cv_c_dll_unixware" 1>&6
|
||||||
if test "$ac_cv_c_dll_unixware" = "yes"
|
if test "$ac_cv_c_dll_unixware" = "yes"
|
||||||
then
|
then
|
||||||
LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,h,\$(libdir)/%)"
|
LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,\$(libdir)/%)"
|
||||||
LDDLLFLAGS="-Wl,-B,symbolic"
|
LDDLLFLAGS="-Wl,-B,symbolic"
|
||||||
else
|
else
|
||||||
echo $ac_n "checking "whether we can build a NetBSD dll"""... $ac_c" 1>&6
|
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"
|
if test "$ac_cv_c_dll_unixware" = "yes"
|
||||||
then
|
then
|
||||||
LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,h,\$(libdir)/%)"
|
LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,\$(libdir)/%)"
|
||||||
LDDLLFLAGS="-Wl,-B,symbolic"
|
LDDLLFLAGS="-Wl,-B,symbolic"
|
||||||
else
|
else
|
||||||
AC_CACHE_CHECK("whether we can build a NetBSD dll",
|
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 */
|
/* locate a symbol in a (sorted) list */
|
||||||
inline static const char *find_symbol( const char *name, char **table, int size )
|
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;
|
return res ? *res : NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user