diff --color -Naur --exclude .git lfs-test/chapter08/pkgconf.xml lfs-test-multilib/chapter08/pkgconf.xml
old
|
new
|
|
68 | 68 | |
69 | 69 | </sect2> |
70 | 70 | |
| 71 | <!--Multilib additions--> |
| 72 | <sect2 arch="ml_32,ml_all" role="installation"> |
| 73 | <title>Multilib Additions</title> |
| 74 | <para>Create a new symlink so that programs can find the 32 Bit librarieses</para> |
| 75 | <screen><userinput remap="install">ln -sfv pkgconf /usr/bin/i686-pc-linux-gnu-pkg-config</userinput></screen> |
| 76 | <para>Create 2 new 'personality' files to let programs know where to find the respective .pc files</para> |
| 77 | <screen><userinput remap="install">cat > /usr/share/pkgconfig/personality.d/i686-pc-linux-gnu.personality << "EOF" |
| 78 | <literal>Triplet: i686-pc-linux-gnu |
| 79 | SysrootDir: / |
| 80 | DefaultSearchPaths: /usr/lib32/pkgconfig:/usr/share/pkgconfig |
| 81 | SystemIncludePaths: /usr/include |
| 82 | SystemLibraryPaths: /usr/lib32</literal> |
| 83 | EOF |
| 84 | </userinput></screen> |
| 85 | <para>Create One for x86_64 as well so that programs know which one to default too</para> |
| 86 | <screen><userinput remap="install">cat > /usr/share/pkgconfig/personality.d/x86_64-pc-linux-gnu.personality << "EOF" |
| 87 | <literal>Triplet: x86_64-pc-linux-gnu |
| 88 | SysrootDir: / |
| 89 | DefaultSearchPaths: /usr/lib/pkgconfig:/usr/share/pkgconfig |
| 90 | SystemIncludePaths: /usr/include |
| 91 | SystemLibraryPaths: /usr/lib</literal> |
| 92 | EOF |
| 93 | </userinput></screen> |
| 94 | </sect2> |
71 | 95 | <sect2 id="contents-pkgconf" role="content"> |
72 | 96 | <title>Contents of Pkgconf</title> |
73 | 97 | |
… |
… |
|
112 | 136 | </indexterm> |
113 | 137 | </listitem> |
114 | 138 | </varlistentry> |
| 139 | |
| 140 | <varlistentry id="i686-pc-pkg-config "> |
| 141 | <!-- Don't remove the extra space, it prevents a FOP warning. --> |
| 142 | <term><command>i686-pc-pkg-config </command></term> |
| 143 | <listitem> |
| 144 | <para>A pkg-config command that gets the lib32 flags for packages |
| 145 | </para> |
| 146 | <indexterm zone="ch-system-pkgconf i686-pc-pkg-config"> |
| 147 | <primary sortas="b-i686-pc-pkg-config">pkg-config</primary> |
| 148 | </indexterm> |
| 149 | </listitem> |
| 150 | </varlistentry> |
115 | 151 | |
116 | 152 | <varlistentry id="bomtool"> |
117 | 153 | <!-- Don't remove the extra space, it prevents a FOP warning. --> |