mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-29 08:08:37 +00:00
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:
parent
08c0f1c7dd
commit
150f7c198f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57472
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user