Skip to content

Commit

Permalink
Sync libnfc.pc includedir with the rest of the project source files.
Browse files Browse the repository at this point in the history
When I introduced headers separation (aka includes-revamp branch), the libnfc source code includes have been changed from '#include "../xx/nfc*.h"' to '#include <nfc/nfc*>' (when compiling, the source include dir (src/include) has precedence over '${prefix}/include').  For the sake of consistency, update libnfc.pc includedir so that compiling third party code using '#include <nfc/nfc*>' just works (tm).  This provides much more consistent headers since they are usually referred relative to the includedir (exceptions are e.g. glib, gtk, xorg... quite bigger than libnfc I could say).
  • Loading branch information
smortex committed Dec 22, 2009
1 parent 2079016 commit aa7d717
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libnfc.pc.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@/nfc
includedir=@includedir@

Name: libnfc
Description: Near Field Communication (NFC) library
Version: @VERSION@
Expand Down

0 comments on commit aa7d717

Please sign in to comment.