Skip to content

Commit 571c424

Browse files
committed
Fix link error on PyPy+Linux
1 parent 15ac9e0 commit 571c424

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ python:
66
- 2.5
77
- 2.6
88
- 2.7
9-
#- pypy
9+
- pypy
1010
install:
1111
- pip install Attest
1212
script:

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def spawn(self, cmd):
5555
macros = {'LIBSASS_PYTHON_VERSION': '\\"' + version + '\\"'}
5656
else:
5757
flags = ['-fPIC', '-Wall', '-Wno-parentheses', '-Wno-tautological-compare']
58-
link_flags = ['-fPIC']
58+
link_flags = ['-fPIC', '-lstdc++']
5959
macros = {'LIBSASS_PYTHON_VERSION': '"' + version + '"'}
6060

6161
sass_extension = Extension(

0 commit comments

Comments
 (0)