diff --git a/doc/guide/files/buildlink.xml b/doc/guide/files/buildlink.xml index 9d5b893c5f39..2676e8ca5362 100644 --- a/doc/guide/files/buildlink.xml +++ b/doc/guide/files/buildlink.xml @@ -1,4 +1,4 @@ - + Buildlink methodology @@ -350,13 +350,17 @@ BUILDLINK_TREE+= -tiff The following steps should help you decide if a buildlink3.mk file needs to be included: - Run ldd on all installed - libraries and look against what other libraries they link. The - packages providing these must be - buildlinked. Look at the installed header files: What headers do they include? The packages providing these files must be buildlinked. + Run ldd on all installed + libraries and look against what other libraries they link. + Some of the packages providing these probably need to be + buildlinked; however, it's not automatic, since e.g. GTK on + some systems pulls in the X libraries, so they will show up in + the ldd output, while on others (like OS + X) it won't. lddoutput can thus only be + used as a hint.