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

Missing pkg-config file #48

Open
radare opened this issue Jul 26, 2013 · 2 comments
Open

Missing pkg-config file #48

radare opened this issue Jul 26, 2013 · 2 comments

Comments

@radare
Copy link
Contributor

radare commented Jul 26, 2013

No description provided.

@sakkaku
Copy link
Contributor

sakkaku commented Jan 8, 2014

I added pkg-config by emulating the method glew uses to generate the .pc file. https://github.com/sakkaku/libCello/commit/f833077d499fc6ed753ecbc42299826195e7f9f0

  1. The cflags and ldflags needed varies based on compiler. This version jerks out the extra flags added for the platform and/or clang and throws it into the file. Theoretically "mixing" compilers from library installation and program compilation would result in a failed build.
  2. I am not sure some flags are needed, for instance fPIC.
  3. I need to redo it to where it doesn't override the .gitignore, maybe generate the .pc locally before it is pushed to prefix. I'm lazy >_<

@orangeduck
Copy link
Owner

I don't have any experience with pkg-config so can't give you much help with that, sorry!

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

3 participants