Skip to content

Commit 4d65455

Browse files
committed
Fixed MacOS build, #55
1 parent 7dde56b commit 4d65455

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import os
2+
import sys
23
import re
34
from distutils.command.build import build
45
from distutils.command.build_ext import build_ext
@@ -28,6 +29,9 @@
2829
swig_opts=['-c++'],
2930
)
3031

32+
if sys.platform == 'darwin':
33+
jamspell.extra_compile_args.append('-stdlib=libc++')
34+
3135
class CustomBuild(build):
3236
def run(self):
3337
self.run_command('build_ext')

0 commit comments

Comments
 (0)