Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support pkg-config installs of libjpeg please? #64

Open
whorfin opened this issue May 20, 2021 · 1 comment
Open

Support pkg-config installs of libjpeg please? #64

whorfin opened this issue May 20, 2021 · 1 comment

Comments

@whorfin
Copy link

whorfin commented May 20, 2021

You may wish to solve this a different way so i didn't do a PR, but simply adding this line right after the #cgo LDFLAGS in jpeg/jpeg.go allows modern systems with pkg-config setups to work; then setting PKG_CONFIG_PATH is enough to get even weird install locations to work

#cgo LDFLAGS: -ljpeg
#cgo pkg-config: libjpeg
@edaniels
Copy link

edaniels commented Mar 6, 2023

Given that this has not been responded to, we have forked this library over to https://github.com/viam-labs/go-libjpeg/tree/fork. It includes your request @whorfin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants