Revert "Merge #97536: uwsgi: fix compiling and linking"

This reverts commit df4d0b03ef, reversing
changes made to b333263534.

It didn't even evaluate!
This commit is contained in:
Vladimír Čunát
2020-12-21 22:48:19 +01:00
parent 4de10624f6
commit 583470209f
4 changed files with 7 additions and 83 deletions
@@ -1,13 +0,0 @@
diff --git a/plugins/php/uwsgiplugin.py b/plugins/php/uwsgiplugin.py
index d930c44e..2fcbc22a 100644
--- a/plugins/php/uwsgiplugin.py
+++ b/plugins/php/uwsgiplugin.py
@@ -17,6 +17,8 @@ php_version = os.popen(PHPPATH + ' --version').read().rstrip().split('.')[0]
CFLAGS = [os.popen(PHPPATH + ' --includes').read().rstrip(), '-Wno-sign-compare']
LDFLAGS = os.popen(PHPPATH + ' --ldflags').read().rstrip().split()
+LDFLAGS.append(os.environ.get('UWSGICONFIG_PHP_LDFLAGS', []))
+
if ld_run_path:
LDFLAGS.append('-L%s' % ld_run_path)
os.environ['LD_RUN_PATH'] = ld_run_path