-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[1.x] Please install .pc file for easy discoverability #3523
Comments
If I will use I have my own Janus package for Arch in which after
It looks like a bug because in a similar situation |
I don't have any immediate plan to provide .pc files, but I'll add the enhancement tag to this issue and keep it open so that we don't forget it may be useful to have in the future. Of course PRs we can evaluate are always welcome. |
The ustream project that uses janus fails to find the janus headers:
In file included from src/acap.c:43:
In file included from src/logging.h:23:
/usr/local/include/janus/plugins/plugin.h:162:10: fatal error: 'refcount.h' file not found
162 | #include "refcount.h"
| ^~~~~~~~~~~~
1 error generated.
This is because janus doesn't provide any way to discover it or to determine what CFLAGS does it need.
The actual reason is that this CFLAGS argument is missing: -I$(PREFIX)/include/janson.
CFLAGS and LDFLAGS should be supplied by the .pc file so that
pkg-config --cflags --libs janus
would print all necessary flags.The text was updated successfully, but these errors were encountered: