mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-10-04 16:08:31 +00:00
various Riccardo Magliocchetti build fixes
This commit is contained in:
@@ -1358,11 +1358,13 @@ int uwsgi_start(void *v_argv) {
|
||||
uwsgi_lock_init(uwsgi.cron_table_lock);
|
||||
}
|
||||
|
||||
#ifdef UWSGI_SPOOLER
|
||||
if (uwsgi.spool_dir) {
|
||||
// spooler lock
|
||||
uwsgi.spooler_lock = uwsgi_mmap_shared_lock();
|
||||
uwsgi_lock_init(uwsgi.spooler_lock);
|
||||
}
|
||||
#endif
|
||||
|
||||
uwsgi.rpc_table_lock = uwsgi_mmap_shared_lock();
|
||||
uwsgi_lock_init(uwsgi.rpc_table_lock);
|
||||
|
||||
@@ -1049,7 +1049,9 @@ struct uwsgi_server {
|
||||
void *rb_timer_table_lock;
|
||||
void *cron_table_lock;
|
||||
void *rpc_table_lock;
|
||||
#ifdef UWSGI_SPOOLER
|
||||
void *spooler_lock;
|
||||
#endif
|
||||
|
||||
void *daemon_table_lock;
|
||||
|
||||
|
||||
+1
-1
@@ -175,7 +175,7 @@ class uConf(object):
|
||||
self.cflags = self.cflags + [ '-Wextra', '-Wno-unused-parameter', '-Wno-missing-field-initializers' ]
|
||||
|
||||
self.ldflags = os.environ.get("LDFLAGS", "").split()
|
||||
self.libs = ['-lpthread', '-rdynamic']
|
||||
self.libs = ['-lpthread', '-rdynamic', '-ldl']
|
||||
|
||||
# check for inherit option
|
||||
inherit = self.get('inherit')
|
||||
|
||||
Reference in New Issue
Block a user