diff --git a/build/dcraw/build.sh b/build/dcraw/build.sh index 6cc67dd1d..889e66079 100755 --- a/build/dcraw/build.sh +++ b/build/dcraw/build.sh @@ -39,6 +39,8 @@ set_builddir $PROG pre_configure() { typeset arch=$1 + test_relver '>' 151038 && return + export CMAKE_LIBRARY_PATH=$PREFIX/${LIBDIRS[$arch]} } diff --git a/build/libheif/build.sh b/build/libheif/build.sh index 46db4e652..944c8cbcd 100755 --- a/build/libheif/build.sh +++ b/build/libheif/build.sh @@ -49,6 +49,14 @@ CONFIGURE_OPTS[amd64]=" LDFLAGS[i386]+=" -Wl,-R$PREFIX/lib" LDFLAGS[amd64]+=" -Wl,-R$PREFIX/lib/amd64" +pre_configure() { + typeset arch=$1 + + test_relver '>' 151038 && return + + export CMAKE_LIBRARY_PATH=$PREFIX/${LIBDIRS[$arch]} +} + init download_source $PROG $PROG $VER patch_source