mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-11-21 10:56:10 +00:00
allows pyuwsgi in osx
This commit is contained in:
@@ -452,6 +452,9 @@ class uConf(object):
|
||||
self.ldflags.append('-shared')
|
||||
self.ldflags.append('-fPIC')
|
||||
self.cflags.append('-DUWSGI_AS_SHARED_LIBRARY')
|
||||
if uwsgi_os == 'Darwin':
|
||||
self.ldflags.append('-dynamiclib')
|
||||
self.ldflags.append('-undefined dynamic_lookup')
|
||||
|
||||
if self.get('embedded'):
|
||||
self.cflags.append('-DUWSGI_EMBEDDED')
|
||||
|
||||
Reference in New Issue
Block a user