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

Closed
opened 10 years ago by ncopa · 0 comments
ncopa commented 10 years ago (Migrated from github.com)
Owner

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.

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.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: ariadne/pkgconf#41
Loading…
There is no content yet.