mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-01 11:15:57 +00:00
better symbol detection for pypy
This commit is contained in:
@@ -144,7 +144,13 @@ ready:
|
||||
}
|
||||
else {
|
||||
char *start = dlsym(RTLD_DEFAULT, "uwsgi_pypy_setup_start");
|
||||
if (!start) {
|
||||
start = dlsym(RTLD_DEFAULT, "_uwsgi_pypy_setup_start");
|
||||
}
|
||||
char *end = dlsym(RTLD_DEFAULT, "uwsgi_pypy_setup_end");
|
||||
if (!end) {
|
||||
end = dlsym(RTLD_DEFAULT, "_uwsgi_pypy_setup_end");
|
||||
}
|
||||
if (start && end) {
|
||||
buffer = uwsgi_concat2n(start, end-start, "", 0);
|
||||
}
|
||||
|
||||
+1
-1
@@ -1122,7 +1122,7 @@ class uConf(object):
|
||||
report['xml'] = 'expat'
|
||||
|
||||
if self.get('plugin_dir'):
|
||||
self.cflags.append('-DUWSGI_PLUGIN_DIR=\\"%s\\"' % self.get('plugin_dir'))
|
||||
self.cflags.append('-DUWSGI_PLUGIN_DIR="\\"%s\\""' % self.get('plugin_dir'))
|
||||
report['plugin_dir'] = self.get('plugin_dir')
|
||||
|
||||
if self.get('debug'):
|
||||
|
||||
Reference in New Issue
Block a user