empty prefix causes -L flags to be omitted #45

Closed
opened 2012-09-27 22:35:39 +00:00 by rofl0r · 0 comments
rofl0r commented 2012-09-27 22:35:39 +00:00 (Migrated from github.com)

fixed with 7cae28f (issue #44)

this caused build of glib to fail because it couldnt find -L for libffi:
/lib/pkgconfig/libffi.pc:
prefix=
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${libdir}/libffi-3.0.11/include
[...]

pkg-config being pkgconf:
root:/src$ pkg-config --libs-only-L libffi

[empty output]
pkg-config original:
root:/src$ pkg-config --libs-only-L libffi
-L/lib
[correct output]

fixed with 7cae28f (issue #44) this caused build of glib to fail because it couldnt find -L for libffi: /lib/pkgconfig/libffi.pc: prefix= exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${libdir}/libffi-3.0.11/include [...] pkg-config being pkgconf: root:/src$ pkg-config --libs-only-L libffi [empty output] pkg-config original: root:/src$ pkg-config --libs-only-L libffi -L/lib [correct output]
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ariadne/pkgconf#45
There is no content yet.