Skip to content

Commit

Permalink
fix: Use /etc/fonts for fontconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
JJL772 committed Feb 17, 2024
1 parent 4ff7e65 commit 31b934d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ def get_artifacts(self) -> list[str]:
def configure(self) -> bool:
return self._execute_cmds(
['./autogen.sh', '--enable-static=no', f'--prefix={get_install_dir()}', f'--with-expat={get_install_dir()}', '--sysconfdir=/etc', '--disable-docs',
f'--datadir={get_install_dir()}/share', f'--with-baseconfigdir={get_install_dir()}/etc/fonts', '--disable-cache-build'],
f'--datadir={get_install_dir()}/share', '--disable-cache-build'],
env={
'CFLAGS': f'-fPIC -I{get_inc_dir()}',
'LDFLAGS': f'-L{get_lib_dir()} -Wl,--no-undefined',
Expand Down

0 comments on commit 31b934d

Please sign in to comment.