at 23.11-beta 13 lines 584 B view raw
1diff --git a/plugins/php/uwsgiplugin.py b/plugins/php/uwsgiplugin.py 2index d930c44e..2fcbc22a 100644 3--- a/plugins/php/uwsgiplugin.py 4+++ b/plugins/php/uwsgiplugin.py 5@@ -17,6 +17,8 @@ php_version = os.popen(PHPPATH + ' --version').read().rstrip().split('.')[0] 6 CFLAGS = [os.popen(PHPPATH + ' --includes').read().rstrip(), '-Wno-sign-compare'] 7 LDFLAGS = os.popen(PHPPATH + ' --ldflags').read().rstrip().split() 8 9+LDFLAGS.append(os.environ.get('UWSGICONFIG_PHP_LDFLAGS', [])) 10+ 11 if ld_run_path: 12 LDFLAGS.append('-L%s' % ld_run_path) 13 os.environ['LD_RUN_PATH'] = ld_run_path