Skip to content

Commit 4bf478d

Browse files
committed
Install libffi-devel to build i868 wheels
1 parent f290cdf commit 4bf478d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/build-libsrtp.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ def run(cmd):
2828
"-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON",
2929
"-DENABLE_OPENSSL=ON",
3030
]
31+
if platform.system() == "Linux" and platform.machine() == "i686":
32+
# There are no binary wheels for cffi on i686 anymore.
33+
run(["yum", "install", "libffi-devel"])
3134
if platform.system() == "Darwin" and "ARCHFLAGS" in os.environ:
3235
archs = [x for x in os.environ["ARCHFLAGS"].split() if x != "-arch"]
3336
cmake_args.append("-DCMAKE_OSX_ARCHITECTURES=" + ";".join(archs))

0 commit comments

Comments
 (0)