ac5ef60
diff -ruN mongoose.orig/Makefile mongoose/Makefile
ac5ef60
--- mongoose.orig/Makefile	2010-05-19 22:27:12.096345751 -0300
ac5ef60
+++ mongoose/Makefile	2010-05-19 22:29:57.184220689 -0300
ac5ef60
@@ -15,6 +15,8 @@
ac5ef60
 # -DCONFIG_FILE=\"file\" - use `file' as the default config file
ac5ef60
 # -DNO_SSI		- disable SSI support (-4kb)
ac5ef60
 # -DHAVE_STRTOUI64	- use system strtoui64() function for strtoull()
ac5ef60
+# -DSSL_LIB=\"libssl.so.<version>\" - use system versioned SSL shared object
ac5ef60
+# -DCRYPTO_LIB=\"libcrypto.so.<version>\" - use system versioned CRYPTO so;
ac5ef60
 
ac5ef60
 
ac5ef60
 ##########################################################################
ac5ef60
diff -ruN mongoose.orig/mongoose.c mongoose/mongoose.c
ac5ef60
--- mongoose.orig/mongoose.c	2009-07-08 18:08:24.000000000 -0300
ac5ef60
+++ mongoose/mongoose.c	2010-05-19 22:32:07.334158352 -0300
ac5ef60
@@ -176,8 +176,12 @@
ac5ef60
 #include <dirent.h>
ac5ef60
 #include <dlfcn.h>
ac5ef60
 #include <pthread.h>
ac5ef60
+#if !defined(SSL_LIB)
ac5ef60
 #define	SSL_LIB			"libssl.so"
ac5ef60
+#endif
ac5ef60
+#if !defined(CRYPTO_LIB)
ac5ef60
 #define	CRYPTO_LIB		"libcrypto.so"
ac5ef60
+#endif
ac5ef60
 #define	DIRSEP			'/'
ac5ef60
 #define	IS_DIRSEP_CHAR(c)	((c) == '/')
ac5ef60
 #define	O_BINARY		0