- cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/libpng-1.2.8-link_to_proper_libs-1.patch
- cd $(DIR_APP) && sed \
- -e 's%^prefix.*$$%prefix=/usr%' \
- -e 's%^ZLIBLIB.*$$%ZLIBLIB=/usr/lib%' \
- -e 's%^ZLIBINC.*$$%ZLIBINC=/usr/include%' \
- -e 's%-O3%$(CFLAGS)%' scripts/makefile.linux > makefile
+ cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/libpng-1.2.12-no-asm.patch
+ cd $(DIR_APP) && ./configure --prefix=/usr --disable-static --without-libpng-compat