mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 14:47:17 +08:00
Fix pkgconfig file for libtiff
When using cmake/ninja, the pkgconfig file for libtiff has an empty Version field. Add a sed to cure that.
This commit is contained in:
parent
e6d0be69b6
commit
476753a688
@ -119,7 +119,19 @@ ninja</userinput></screen>
|
||||
user:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>ninja install</userinput></screen>
|
||||
<screen role="root"><userinput>ninja install
|
||||
sed -i /Version/s/\$/$(cat ../VERSION)/ /usr/lib/pkgconfig/libtiff-4.pc</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para>
|
||||
<command>sed -i /Version/...</command>: When building with cmake/ninja,
|
||||
the Version field in the pkgconfig file is empty. This command allows to
|
||||
fix that field.
|
||||
</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user