libpng-xcode-project
libpng-xcode-project copied to clipboard
Wrong configuration.
When you simply copying pnglibconf, it does not means, that your platform will support everything.
shellScript = "cp ../../scripts/pnglibconf.h.prebuilt ../../pnglibconf.h";
This script generates correct pnglibconf.h
and also builds framework for iOS.
Can be modified to create fat static lib.
https://gist.github.com/sakrist/4c1126e60fa51323947f
INSTALL:
III. Using scripts/makefile*
Instead, you can use one of the custom-built makefiles in the "scripts" directory
cp scripts/pnglibconf.h.prebuilt pnglibconf.h cp scripts/makefile.system makefile make test make install
makefile.system = makefile.darwin or makefile.gcc that doesn't make any changes in pnglibconf.h
Also, Developer can make some changes for Target for main project or make undef
Please write a test for wrong configuration
#define PNG_ARM_NEON_API_SUPPORTED
will be uncommented with ./configuration