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 --cflags behaves different than freedesktops pkg-config #41

Closed
ncopa opened this issue Sep 5, 2012 · 0 comments
Closed

pkg-config --cflags behaves different than freedesktops pkg-config #41

ncopa opened this issue Sep 5, 2012 · 0 comments

Comments

@ncopa
Copy link

ncopa commented Sep 5, 2012

I am not sure if this is a bug really, but I am reporting it here for the record as it has influence on how some packages are built.

With freedesktop's pkg-config there is a single space returned:

$ echo "flags='$(pkg-config --cflags lua)'"
flags=' '

With pkgconf that space is missing.

rrdtool has a pretty stupid configure script:

   if test "$LUA_CFLAGS" = ""; then
      ...

which will result in a different result than freedesktop's pkg-config.

I am not sure how close you want follow freedesktops pkg-config.

@kaniini kaniini closed this as completed Sep 5, 2012
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