HomeFreeBSD

graphics/libraw: link against libomp with OPENMP=on

Description

graphics/libraw: link against libomp with OPENMP=on

Since 07fb2d5e9d00 consumers - most notably shotwell - crashed hard
on RAW file operations when libraw was built with OPENMP=on:

ld-elf.so.1: /usr/local/lib/libraw.so.20: Undefined symbol "__kmpc_fork_call"

adding -lomp to libraw's LDFLAGS (via OPENMP_LDFLAGS, so it stays
conditional) fixes the issue.

PR: 259904
Approved by: maintainer-timeout (jhale@)

Details

Provenance
cmtAuthored on Dec 10 2021, 8:30 PM
Parents
R11:9c0c6c0d5946: editors/libreoffice6: fix build with options I18N=ON KF5=OFF
Branches
Unknown
Tags
Unknown