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