allows pyuwsgi in osx

This commit is contained in:
roberto@sirius
2011-08-31 12:09:56 +02:00
parent 00fc31289d
commit 1446e3f0a9
+3
View File
@@ -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')