Browse Source

Fix libpng build

Signed-off-by: falkTX <falktx@falktx.com>
pull/28/head
falkTX 2 years ago
parent
commit
edbeecba60
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      bootstrap-plugins.sh

+ 3
- 0
bootstrap-plugins.sh View File

@@ -41,6 +41,9 @@ source setup/versions.sh
if [ "${MACOS}" -eq 0 ]; then
# fix build
export EXTRA_CPPFLAGS="-I${PAWPAW_PREFIX}/include"
if [ -z "${PAWPAW_SKIP_LTO}" ] || [ "${PAWPAW_SKIP_LTO}" -eq 0 ]; then
export EXTRA_CPPFLAGS+=" -fno-lto"
fi
fi

download libpng "${LIBPNG_VERSION}" "${LIBPNG_URL}" "tar.xz"


Loading…
Cancel
Save