summaryrefslogtreecommitdiffstats
path: root/uwsgi_fix_php8.patch
diff options
context:
space:
mode:
Diffstat (limited to 'uwsgi_fix_php8.patch')
-rw-r--r--uwsgi_fix_php8.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/uwsgi_fix_php8.patch b/uwsgi_fix_php8.patch
deleted file mode 100644
index 1685a0f..0000000
--- a/uwsgi_fix_php8.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff -uNr a/plugins/php/uwsgiplugin.py b/plugins/php/uwsgiplugin.py
---- a/plugins/php/uwsgiplugin.py 2022-01-22 22:40:33.783038869 +0100
-+++ b/plugins/php/uwsgiplugin.py 2022-01-22 22:41:45.261394898 +0100
-@@ -21,7 +21,12 @@ if ld_run_path:
- LDFLAGS.append('-L%s' % ld_run_path)
- os.environ['LD_RUN_PATH'] = ld_run_path
-
--LIBS = [os.popen(PHPPATH + ' --libs').read().rstrip(), '-lphp' + php_version]
-+# PHP8 and above does not add the version to the library
-+# name
-+if int(php_version) < 8:
-+ LIBS = [os.popen(PHPPATH + ' --libs').read().rstrip(), '-lphp' + php_version]
-+else:
-+ LIBS = [os.popen(PHPPATH + ' --libs').read().rstrip(), '-lphp']
-
- phplibdir = os.environ.get('UWSGICONFIG_PHPLIBDIR')
- if phplibdir: