diff options
-rw-r--r-- | buildtools/wafsamba/wscript | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript index 4c9c3e7918..7c40c8c507 100644 --- a/buildtools/wafsamba/wscript +++ b/buildtools/wafsamba/wscript @@ -271,6 +271,8 @@ def configure(conf): else: conf.ADD_CFLAGS('-fPIC', testflags=True) + if sys.platform == 'darwin': + conf.ADD_LDFLAGS('-fno-common', testflags=True) conf.CHECK_INLINE() # check for pkgconfig |