diff --git a/recipes/libpng/recipe.sh b/recipes/libpng/recipe.sh index c3ccbb91414c77b2c0ef032877dd14434030d8a7..8acf9f35933be46f86a83925c3dd7d67a88eaa2e 100644 --- a/recipes/libpng/recipe.sh +++ b/recipes/libpng/recipe.sh @@ -1,4 +1,4 @@ -VERSION=1.6.34 +VERSION=1.6.36 TAR=https://github.com/glennrp/libpng/archive/v${VERSION}.tar.gz BUILD_DEPENDS=(zlib) @@ -13,10 +13,9 @@ function recipe_update { } function recipe_build { - sysroot="${PWD}/../sysroot" + sysroot="$(realpath ../sysroot)" export LDFLAGS="-L$sysroot/lib" export CPPFLAGS="-I$sysroot/include" - ./autogen.sh chmod +w config.sub wget -O config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub