Browse code

core: Solaris fix for using libcurl - Require this fix on solaris for any dynamic loading of modules that use libcurl. See comment above fix for more details

Jason Penton authored on 02/12/2011 06:41:29
Showing 1 changed files
... ...
@@ -76,6 +76,13 @@
76 76
 
77 77
 struct sr_module* modules=0;
78 78
 
79
+/*We need to define this symbol on Solaris becuase libcurl relies on libnspr which looks for this symbol.
80
+  If it is not defined, dynamic module loading (dlsym) fails */
81
+#ifdef __OS_solaris
82
+	int nspr_use_zone_allocator = 0;
83
+#endif
84
+
85
+
79 86
 #ifdef STATIC_EXEC
80 87
 	extern struct module_exports exec_exports;
81 88
 #endif