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

pkg-config reports incorrect path #137

Open
jbis9051 opened this issue Feb 3, 2023 · 1 comment
Open

pkg-config reports incorrect path #137

jbis9051 opened this issue Feb 3, 2023 · 1 comment

Comments

@jbis9051
Copy link

jbis9051 commented Feb 3, 2023

After installing libks via Homebrew

brew install signalwire/signalwire/libks

as per https://github.com/signalwire/libstirshaken if I run pkg-config it reports the incorrect path

$ pkg-config --cflags libks
-I/opt/homebrew/Cellar/libks/1.8.2/include/libks

As you can see the path reported is one dir too deep. Instead, it should report /opt/homebrew/Cellar/libks/1.8.2/include.

This is consistent with other packages:

$ pkg-config --cflags libjwt
-I/opt/homebrew/Cellar/libjwt/1.15.2/include

This line needs to be changed

https://github.com/signalwire/libks/blob/master/libks.pc.in#L11

@andyshinn
Copy link

I had an error finding ks_platform.h while building FreeSWITCH which led me here. But after applying this fix the build then fails to find ks.h. I don't think the fix is as simple as this.

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