Skip to content

Commit

Permalink
Use libturbojpeg.so instead of libjpeg.so in FreeBSD. (#51)
Browse files Browse the repository at this point in the history
FreeBSD has two packages for turbojpeg. graphics/jpeg doesn't
provide shared library with turbojpeg api, one needs to
use graphics/libjpeg-turbo for it.
  • Loading branch information
AriZuu committed Oct 27, 2021
1 parent a0adeb1 commit c0a5d22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions turbojpeg.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
'/opt/libjpeg-turbo/lib64/libturbojpeg.so'
],
'FreeBSD': [
'/usr/local/lib/libjpeg.so.8',
'/usr/local/lib/libjpeg.so'
'/usr/local/lib/libturbojpeg.so.0',
'/usr/local/lib/libturbojpeg.so'
],
'Windows': ['C:/libjpeg-turbo64/bin/turbojpeg.dll']
}
Expand Down

0 comments on commit c0a5d22

Please sign in to comment.