Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins/asyncio/uwsgiplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

NAME = 'asyncio'

CFLAGS = ['-I' + path for path in paths]
CFLAGS = ['-I' + '"' + path + '"' for path in paths]
LDFLAGS = []
LIBS = []
GCC_LIST = ['asyncio']
2 changes: 1 addition & 1 deletion plugins/gevent/uwsgiplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

NAME = 'gevent'

CFLAGS = ['-I' + path for path in paths]
CFLAGS = ['-I' + '"' + path + '"' for path in paths]
LDFLAGS = []
LIBS = []

Expand Down
2 changes: 1 addition & 1 deletion plugins/greenlet/uwsgiplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

NAME = 'greenlet'

CFLAGS = ['-I' + path for path in paths]
CFLAGS = ['-I' + '"' + path + '"' for path in paths]
LDFLAGS = []
LIBS = []

Expand Down
6 changes: 3 additions & 3 deletions plugins/python/uwsgiplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def get_python_version():
'raw'
]

CFLAGS = ['-I' + path for path in paths]
CFLAGS = ['-I' + '"' + path + '"' for path in paths]
LDFLAGS = []

if 'UWSGI_PYTHON_NOLIB' not in os.environ:
Expand Down Expand Up @@ -92,8 +92,8 @@ def get_python_version():
except Exception:
libdir = "%s/lib" % sysconfig.PREFIX

LDFLAGS.append("-L%s" % libdir)
LDFLAGS.append("-Wl,-rpath,%s" % libdir)
LDFLAGS.append('-L"%s"' % libdir)
LDFLAGS.append('-Wl,-rpath,"%s"' % libdir)

os.environ['LD_RUN_PATH'] = "%s" % libdir

Expand Down
2 changes: 1 addition & 1 deletion plugins/pyuwsgi/uwsgiplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

NAME = 'pyuwsgi'

CFLAGS = ['-I' + path for path in paths]
CFLAGS = ['-I' + '"' + path + '"' for path in paths]
LDFLAGS = []
LIBS = []

Expand Down
2 changes: 1 addition & 1 deletion plugins/stackless/uwsgiplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

NAME = 'stackless'

CFLAGS = ['-I' + path for path in paths]
CFLAGS = ['-I' + '"' + path + '"' for path in paths]
LDFLAGS = []
LIBS = []

Expand Down
2 changes: 1 addition & 1 deletion plugins/tornado/uwsgiplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

NAME = 'tornado'

CFLAGS = ['-I' + path for path in paths]
CFLAGS = ['-I' + '"' + path + '"' for path in paths]
LDFLAGS = []
LIBS = []

Expand Down