From 4b81ff61ebb427906522e82fd085a37555c10bc7 Mon Sep 17 00:00:00 2001 From: "roberto@fiorenzo" Date: Sat, 23 Oct 2010 08:48:41 +0200 Subject: [PATCH] fix plugins loading --- buildconf/rackp.ini | 29 +++++++++++++++++++++++++++++ uwsgi.h | 8 ++++++++ 2 files changed, 37 insertions(+) create mode 100644 buildconf/rackp.ini diff --git a/buildconf/rackp.ini b/buildconf/rackp.ini new file mode 100644 index 00000000..9041c759 --- /dev/null +++ b/buildconf/rackp.ini @@ -0,0 +1,29 @@ +[uwsgi] +xml = true +ini = true +snmp = true +sctp = false +erlang = false +spooler = false +embedded = false +udp = true +multicast = false +threading = true +sendfile = true +nagios = true +proxy = true +minterpreters = true +async = true +ugreen = false +http = true +evdis = false +ldap = true +routing = false +stackless = false +debug = false +unbit = false +xml_implementation = libxml2 +plugins = rack +bin_name = uwsgi +plugin_dir = . +embedded_plugins = diff --git a/uwsgi.h b/uwsgi.h index 86a52249..ecdf3cab 100644 --- a/uwsgi.h +++ b/uwsgi.h @@ -11,6 +11,14 @@ #define MAX_APPS 64 +#ifndef UWSGI_LOAD_EMBEDDED_PLUGINS +#define UWSGI_LOAD_EMBEDDED_PLUGINS +#endif + +#ifndef UWSGI_DECLARE_EMBEDDED_PLUGINS +#define UWSGI_DECLARE_EMBEDDED_PLUGINS +#endif + #define UDEP(pname) extern struct uwsgi_plugin pname##_plugin; #define ULEP(pname)\