Skip to content

Commit

Permalink
Merge pull request #1362 from hadfl/libheif
Browse files Browse the repository at this point in the history
libheif: fix build on r151038
  • Loading branch information
oetiker authored Nov 1, 2023
2 parents 5a817f2 + 2dfa3a6 commit d45e37d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/dcraw/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ set_builddir $PROG
pre_configure() {
typeset arch=$1

test_relver '>' 151038 && return

export CMAKE_LIBRARY_PATH=$PREFIX/${LIBDIRS[$arch]}
}

Expand Down
8 changes: 8 additions & 0 deletions build/libheif/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d45e37d

Please sign in to comment.