pkg-config should specify header subdir
Bug #804173 reported by
Justin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mmdb |
Won't Fix
|
Undecided
|
Morten Kjeldgaard |
Bug Description
At least coot expects the header subdir to be specified in the compile command. Therefore I propose the inclusion of the attached patch. It will never harm, but help e.g. for coot (if one relis on the pc file and not solely on the assumptions which were made in coots mmdb.m4 macro).
Changed in mmdb: | |
assignee: | nobody → Morten Kjeldgaard (mok0) |
status: | New → Triaged |
To post a comment you must log in.
Include directives in client programs should specify the mmdb subdirectory themselves. i.e.
#include <mmdb/mattype_.h>
rather than
#include <mattype_.h>
Distributions need to maintain this principle to avoid polluting the namespace. Suppose _another_ library provided an include file named mattype_.h, which is placed in /usr/include, then the client program would never be sure which version of the include file would be picked up, because /usr/include is always in the compilers search path.