Skip to content

Commit

Permalink
Merge pull request #6718 from radarhere/openjpeg_arm
Browse files Browse the repository at this point in the history
Resolves #6679
  • Loading branch information
hugovk committed Dec 28, 2022
2 parents 1a93e84 + 13a4fea commit f0b494e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions winbuild/build_prepare.py
Expand Up @@ -319,6 +319,11 @@ def cmd_msbuild(
"filename": "openjpeg-2.5.0.tar.gz",
"dir": "openjpeg-2.5.0",
"license": "LICENSE",
"patch": {
r"src\lib\openjp2\ht_dec.c": {
"#ifdef OPJ_COMPILER_MSVC\n return (OPJ_UINT32)__popcnt(val);": "#if defined(OPJ_COMPILER_MSVC) && (defined(_M_IX86) || defined(_M_AMD64))\n return (OPJ_UINT32)__popcnt(val);", # noqa: E501
}
},
"build": [
cmd_cmake(("-DBUILD_CODEC:BOOL=OFF", "-DBUILD_SHARED_LIBS:BOOL=OFF")),
cmd_nmake(target="clean"),
Expand Down

0 comments on commit f0b494e

Please sign in to comment.