Skip to content

Commit

Permalink
libpng: Fix cmake args and disable static library
Browse files Browse the repository at this point in the history
  • Loading branch information
th0ma7 committed Sep 13, 2023
1 parent e8580e6 commit b669316
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cross/libpng/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ HOMEPAGE = http://www.libpng.org/pub/png/libpng.html
COMMENT = Portable Network Graphics Library
LICENSE = http://www.libpng.org/pub/png/src/libpng-LICENSE.txt

CONFIGURE_ARGS = --disable-static
CMAKE_ARGS += -DPNG_STATIC=OFF
CMAKE_ARGS += -DHAVE_LD_VERSION_SCRIPT=OFF
ADDITIONAL_CFLAGS = -O -lm

include ../../mk/spksrc.cross-cmake.mk

0 comments on commit b669316

Please sign in to comment.