Skip to content

Commit

Permalink
Merge pull request #4896 from PrometheusPi/fix_libpng_build_doc
Browse files Browse the repository at this point in the history
separate setting and configuring in libpng build documentation
  • Loading branch information
psychocoderHPC committed May 6, 2024
2 parents 37753c1 + adf47a3 commit 424a7ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion INSTALL.rst
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,8 @@ libpng
- ``curl -Lo libpng-1.6.34.tar.gz ftp://ftp-osl.osuosl.org/pub/libpng/src/libpng16/libpng-1.6.34.tar.gz``
- ``tar -xf libpng-1.6.34.tar.gz``
- ``cd libpng-1.6.34``
- ``CPPFLAGS=-I$HOME/lib/zlib/include LDFLAGS=-L$HOME/lib/zlib/lib ./configure --enable-static --enable-shared --prefix=$HOME/lib/libpng``
- ``CPPFLAGS=-I$HOME/lib/zlib/include LDFLAGS=-L$HOME/lib/zlib/lib`` (if needed)
- ``./configure --enable-static --enable-shared --prefix=$HOME/lib/libpng``
- ``make``
- ``make install``
- *environment:* (assumes install from source in ``$HOME/lib/libpng``)
Expand Down

0 comments on commit 424a7ee

Please sign in to comment.