Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
hoodmane committed Apr 7, 2023
1 parent 81c0087 commit 2d79b46
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/test_projects/c.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,17 @@
"""

SETUP_PY_TEMPLATE = r"""
import platform
import sys
import os
from setuptools import setup, Extension
{{ setup_py_add }}
libraries = []
# Emscripten used to have a bug if you pass -lc, but it is fixed as of 3.1.32
# if sys.platform.startswith('linux') and os.environ.get("_PYTHON_HOST_PLATFORM") != "emscripten_3_1_27_wasm32":
# libraries.extend(['m', 'c'])
# Emscripten fails if you pass -lc...
if sys.platform.startswith('linux') and platform.machine() != "wasm32":
libraries.extend(['m', 'c'])
setup(
Expand Down

0 comments on commit 2d79b46

Please sign in to comment.