fixed png bytebuffer: needed to memset png struct to zeros

This commit is contained in:
2025-10-04 00:47:49 -04:00
parent f442ae2067
commit 2d992360e4
17 changed files with 5 additions and 3 deletions

Binary file not shown.

View File

@ -19,7 +19,7 @@ cc = "gcc" #compiler
# -fvisibility=hidden -- stripping symbols to avoid namespace pollution doesn't seem to work on Linux
cflags = "-fPIC -O3 -DEXPORT_AMSCIMGLIB4"
libraries = "-l{} -ljpeg -lpng -lz -lm".format(libname)
libdirs = "-L{} -L{}/lib -L{}/lib".format(builddir,commondir,depdir)
libdirs = "-L{} -L{}/lib -L{}/lib".format(builddir,depdir,commondir)
linkerflags = "-shared -Wl,-rpath=. -Wl,--out-implib={}/lib{}.a".format(builddir,libname)
srcexts = [".c",".cpp"]
binsrc = ["main.c","main.cpp"] #ignore these files when compiling the static library