diff options
Diffstat (limited to 'secure/lib/libcrypto/Makefile.inc')
-rw-r--r-- | secure/lib/libcrypto/Makefile.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/secure/lib/libcrypto/Makefile.inc b/secure/lib/libcrypto/Makefile.inc index b6f5e23..bee00f6 100644 --- a/secure/lib/libcrypto/Makefile.inc +++ b/secure/lib/libcrypto/Makefile.inc @@ -13,10 +13,13 @@ CFLAGS+= -DDEVRANDOM=\"/dev/urandom\" .endif .endif -.if !defined(RSA_NONCOMMERCIAL) || ${RSA_NONCOMMERCIAL} != YES +LOCALBASE?= /usr/local + +.if !exists(${LOCALBASE}/lib/librsaref.a) CFLAGS+= -DNO_RSA -DNO_SSL2 WITH_RSA= NO .else CFLAGS+= -DRSAref RSAREF= YES +WITH_RSA= YES .endif |