]> git.ipfire.org Git - thirdparty/zstd.git/commit
meson: fix MSVC support 2951/head
authorEli Schwartz <eschwartz@archlinux.org>
Thu, 23 Dec 2021 01:17:16 +0000 (20:17 -0500)
committerEli Schwartz <eschwartz@archlinux.org>
Thu, 23 Dec 2021 01:20:30 +0000 (20:20 -0500)
commit29e44bc5547f88ab5c1942d2514c2d524100b71c
tree4d0f0fcda112a122640ba2603cd1089009798624
parenteebf24bd2a5b1a6321e9427ba56d0b0d19eb26c3
meson: fix MSVC support

Regression from commit a5f2c45528032ed20c33e0f8cd2c163a800a0017. It is
not possible to unconditionally add the asm sources, since not all
compilers understand the .s file extension.

Specifically for meson, only compilers inheriting from the GNU mixin
will allow a .s file at configure time.

zstd doesn't support asm for MSVC for the same basic reason; if/when
Windows asm support is added, it would involve preprocessing with nasm,
most likely.
build/meson/lib/meson.build