Don't use the dlopen() stubs if comiling with PIC. This still

needs some more thought for the static case.  Should we provide weak
error-generating stubs for static binaries if -lrsaref was forgotten?
This commit is contained in:
Peter Wemm 2000-02-25 08:13:50 +00:00
parent 08c0f1c7dd
commit 150f7c198f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57472

View File

@ -37,7 +37,7 @@
*
*/
#ifndef NO_RSA
#if !defined(NO_RSA) && defined(PIC)
#include <dlfcn.h>
#include <stdio.h>
@ -158,4 +158,4 @@ R_RandomUpdate_stub(void *randomStruct,
return 0;
}
#endif /* NO_RSA */
#endif /* !NO_RSA && PIC */