Apply a patch with a workaround for IRIX.
Contributed by: The SGI Openoffice.org porting team
This commit is contained in:
parent
4468be35bd
commit
d1aa8c01ff
1 changed files with 3 additions and 3 deletions
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: checkdll.c,v $
|
||||
*
|
||||
* $Revision: 1.1 $
|
||||
* $Revision: 1.2 $
|
||||
*
|
||||
* last change: $Author: nf $ $Date: 2001-04-18 09:50:15 $
|
||||
* last change: $Author: svesik $ $Date: 2001-06-22 12:36:23 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -158,7 +158,7 @@ int main(int argc, char *argv[])
|
|||
if ( (phandle = dlopen(argv[1], RTLD_NOW)) != NULL ) {
|
||||
if ( (pfun = (char *(*)(void))dlsym(phandle, psymbol)) != NULL ) {
|
||||
printf(": ok\n");
|
||||
#ifdef GCC
|
||||
#if !defined(IRIX) && defined(GCC)
|
||||
_exit(0);
|
||||
#else
|
||||
dlclose(phandle);
|
||||
|
|
Loading…
Reference in a new issue