Commit: a86165653469d086b0c1994a58a5ed480d1bd26b
Parent: f75f33b9646636d207836bc77215e6045925cfd0
Author: Randy Palamar
Date: Wed, 27 Dec 2023 10:41:24 -0700
optipng: add missing zlib deps to gen.lua
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pkg/media/optipng/gen.lua b/pkg/media/optipng/gen.lua
@@ -2,6 +2,7 @@ cflags({
'-std=c99', '-Wall', '-Wextra',
'-D _POSIX_C_SOURCE',
'-isystem $builddir/pkg/libs/libpng/include',
+ '-isystem $builddir/pkg/libs/zlib/include',
'-I $srcdir/src/cexcept',
'-I $srcdir/src/gifread',
'-I $srcdir/src/minitiff',
@@ -10,7 +11,7 @@ cflags({
'-I $srcdir/src/pnmio',
})
-pkg.deps = {'pkg/libs/libpng/headers'}
+pkg.deps = {'pkg/libs/libpng/headers', 'pkg/libs/zlib/headers'}
lib('libdeps.a', [[src/(
opngreduc/opngreduc.c