You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/www-servers/uwsgi/files/uwsgi-2.0.21-libphp-version...

14 lines
399 B

https://bugs.gentoo.org/904664
--- a/plugins/php/uwsgiplugin.py
+++ b/plugins/php/uwsgiplugin.py
@@ -14,6 +14,9 @@
php_version = os.popen(PHPPATH + ' --version').read().rstrip().split('.')[0]
+if php_version == '8' :
+ php_version = ''
+
CFLAGS = [os.popen(PHPPATH + ' --includes').read().rstrip(), '-Wno-sign-compare']
LDFLAGS = os.popen(PHPPATH + ' --ldflags').read().rstrip().split()