2023-01-07 19:41:26 +01:00
|
|
|
Index: uwsgi-2.0.21/plugins/jvm/uwsgiplugin.py
|
2016-05-13 03:45:56 +02:00
|
|
|
===================================================================
|
2023-01-07 19:41:26 +01:00
|
|
|
--- uwsgi-2.0.21.orig/plugins/jvm/uwsgiplugin.py
|
|
|
|
+++ uwsgi-2.0.21/plugins/jvm/uwsgiplugin.py
|
|
|
|
@@ -66,11 +66,6 @@ if "-framework JavaVM" in JVM_LIBPATH:
|
2013-05-31 20:42:21 +02:00
|
|
|
|
|
|
|
GCC_LIST = ['jvm_plugin']
|
|
|
|
|
|
|
|
-if 'LD_RUN_PATH' in os.environ:
|
|
|
|
- os.environ['LD_RUN_PATH'] += ':' + JVM_LIBPATH[0][2:]
|
|
|
|
-else:
|
|
|
|
- os.environ['LD_RUN_PATH'] = JVM_LIBPATH[0][2:]
|
|
|
|
-
|
|
|
|
def post_build(config):
|
2023-01-07 19:41:26 +01:00
|
|
|
if subprocess.call("javac %s/plugins/jvm/uwsgi.java" % os.getcwd(), shell=True) != 0:
|
2013-05-31 20:42:21 +02:00
|
|
|
os._exit(1)
|
2023-01-07 19:41:26 +01:00
|
|
|
Index: uwsgi-2.0.21/plugins/php/uwsgiplugin.py
|
2016-05-13 03:45:56 +02:00
|
|
|
===================================================================
|
2023-01-07 19:41:26 +01:00
|
|
|
--- uwsgi-2.0.21.orig/plugins/php/uwsgiplugin.py
|
|
|
|
+++ uwsgi-2.0.21/plugins/php/uwsgiplugin.py
|
2016-02-08 12:22:47 +01:00
|
|
|
@@ -19,7 +19,6 @@ LDFLAGS = os.popen(PHPPATH + ' --ldflags
|
2013-09-24 01:42:48 +02:00
|
|
|
|
2013-05-31 20:42:21 +02:00
|
|
|
if ld_run_path:
|
|
|
|
LDFLAGS.append('-L%s' % ld_run_path)
|
|
|
|
- os.environ['LD_RUN_PATH'] = ld_run_path
|
|
|
|
|
2016-02-08 12:22:47 +01:00
|
|
|
LIBS = [os.popen(PHPPATH + ' --libs').read().rstrip(), '-lphp' + php_version]
|
2013-05-31 20:42:21 +02:00
|
|
|
|
2023-01-07 19:41:26 +01:00
|
|
|
Index: uwsgi-2.0.21/plugins/python/uwsgiplugin.py
|
2016-05-13 03:45:56 +02:00
|
|
|
===================================================================
|
2023-01-07 19:41:26 +01:00
|
|
|
--- uwsgi-2.0.21.orig/plugins/python/uwsgiplugin.py
|
|
|
|
+++ uwsgi-2.0.21/plugins/python/uwsgiplugin.py
|
|
|
|
@@ -64,8 +64,6 @@ if not 'UWSGI_PYTHON_NOLIB' in os.enviro
|
2016-02-08 12:22:47 +01:00
|
|
|
LDFLAGS.append("-L%s" % libdir)
|
2016-05-13 03:45:56 +02:00
|
|
|
LDFLAGS.append("-Wl,-rpath,%s" % libdir)
|
2013-05-31 20:42:21 +02:00
|
|
|
|
2016-02-08 12:22:47 +01:00
|
|
|
- os.environ['LD_RUN_PATH'] = "%s" % libdir
|
|
|
|
-
|
2013-05-31 20:42:21 +02:00
|
|
|
LIBS.append('-lpython%s' % get_python_version())
|
|
|
|
else:
|
2016-02-08 12:22:47 +01:00
|
|
|
LIBS = []
|
2023-01-07 19:41:26 +01:00
|
|
|
Index: uwsgi-2.0.21/plugins/rack/uwsgiplugin.py
|
2016-05-13 03:45:56 +02:00
|
|
|
===================================================================
|
2023-01-07 19:41:26 +01:00
|
|
|
--- uwsgi-2.0.21.orig/plugins/rack/uwsgiplugin.py
|
|
|
|
+++ uwsgi-2.0.21/plugins/rack/uwsgiplugin.py
|
2016-02-08 12:22:47 +01:00
|
|
|
@@ -46,7 +46,6 @@ LIBS = os.popen(RUBYPATH + " -e \"requir
|
2013-05-31 20:42:21 +02:00
|
|
|
|
|
|
|
if has_shared == 'yes':
|
|
|
|
LDFLAGS.append('-L' + libpath )
|
|
|
|
- os.environ['LD_RUN_PATH'] = libpath
|
|
|
|
LIBS.append(os.popen(RUBYPATH + " -e \"require 'rbconfig';print '-l' + %s::CONFIG['RUBY_SO_NAME']\"" % rbconfig).read().rstrip())
|
|
|
|
else:
|
2013-09-24 01:42:48 +02:00
|
|
|
rubylibdir = os.popen(RUBYPATH + " -e \"require 'rbconfig';print RbConfig::CONFIG['rubylibdir']\"").read().rstrip()
|
2023-01-07 19:41:26 +01:00
|
|
|
Index: uwsgi-2.0.21/plugins/ruby19/uwsgiplugin.py
|
2016-05-13 03:45:56 +02:00
|
|
|
===================================================================
|
2023-01-07 19:41:26 +01:00
|
|
|
--- uwsgi-2.0.21.orig/plugins/ruby19/uwsgiplugin.py
|
|
|
|
+++ uwsgi-2.0.21/plugins/ruby19/uwsgiplugin.py
|
2013-05-31 20:42:21 +02:00
|
|
|
@@ -40,6 +40,5 @@ LDFLAGS = os.popen(RUBYPATH + " -e \"req
|
|
|
|
|
|
|
|
libpath = os.popen(RUBYPATH + " -e \"require 'rbconfig';print %s::CONFIG['libdir']\"" % rbconfig).read().rstrip()
|
|
|
|
LDFLAGS.append('-L' + libpath )
|
|
|
|
-os.environ['LD_RUN_PATH'] = libpath
|
|
|
|
LIBS = os.popen(RUBYPATH + " -e \"require 'rbconfig';print '-l' + %s::CONFIG['RUBY_SO_NAME']\"" % rbconfig).read().rstrip().split()
|
|
|
|
|