libjpeg-turbo mustn't compile zlib symbols on its own

This commit is contained in:
henderkes
2026-03-30 00:56:51 +07:00
parent 766f7fa34f
commit daae5f2a7c
3 changed files with 3 additions and 1 deletions

View File

@@ -494,7 +494,7 @@
"static-libs-windows": [
"libjpeg_a.lib"
],
"lib-suggests-windows": [
"lib-depends": [
"zlib"
]
},

View File

@@ -641,6 +641,7 @@
"libjpeg": {
"type": "ghtar",
"repo": "libjpeg-turbo/libjpeg-turbo",
"prefer-stable": true,
"license": {
"type": "file",
"path": "LICENSE.md"

View File

@@ -14,6 +14,7 @@ trait libjpeg
->addConfigureArgs(
'-DENABLE_STATIC=ON',
'-DENABLE_SHARED=OFF',
'-DWITH_SYSTEM_ZLIB=ON'
)
->build();
// patch pkgconfig