diff options
author | Remi Collet <remi@remirepo.net> | 2024-02-20 16:20:31 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-02-20 16:20:31 +0100 |
commit | 4d4bc736d241ed98b5087e3b80ae3f53330fa3c7 (patch) | |
tree | f11f6510b30d4cc86ccc0e7b438ae5c2d66b325a /uwsgi_fix_php8.patch | |
parent | a1e1d831ba94edbf65152a76d347eebeebbd4736 (diff) |
update to 2.0.24
Diffstat (limited to 'uwsgi_fix_php8.patch')
-rw-r--r-- | uwsgi_fix_php8.patch | 17 |
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: |