aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/systemd.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/chapter06/systemd.xml b/chapter06/systemd.xml
index a6df5b8e3..45277e67e 100644
--- a/chapter06/systemd.xml
+++ b/chapter06/systemd.xml
@@ -81,6 +81,7 @@ MOUNT_LIBS="-lmount"
MOUNT_CFLAGS="-I/tools/include/libmount"
cc_cv_CFLAGS__flto=no
SULOGIN="/sbin/sulogin"
+GPERF_LEN_TYPE=size_t
XSLTPROC="/usr/bin/xsltproc"</literal>
EOF</userinput></screen>
@@ -185,9 +186,13 @@ EOF</userinput></screen>
</variablelist>
+ <para>Fix a generated file:</para>
+
+<screen><userinput remap="pre">sed -i s/size_t/GPERF_LEN_TYPE/ src/resolve/dns_type-from-name.h</userinput></screen>
+
<para>Compile the package:</para>
-<screen><userinput remap="make">make LIBRARY_PATH=/tools/lib</userinput></screen>
+<screen><userinput remap="make">make LD_LIBRARY_PATH=/tools/lib</userinput></screen>
<para>This package has a test suite, but it can only be run after the
package has been installed.</para>