diff options
| author | Sergei Trofimovich <slyich@gmail.com> | 2024-10-15 21:50:53 +0100 |
|---|---|---|
| committer | Sergei Trofimovich <slyich@gmail.com> | 2024-10-15 21:54:10 +0100 |
| commit | 3c083ef2ee3ceb78bb38daebb17d87419710a365 (patch) | |
| tree | df659f551b1e5941a4bc65d0bf61ef47244e6f45 /pkgs/development/python-modules/python-mapnik | |
| parent | e2daa3d1b04d5e932a11a28ccac49dfb24292c02 (diff) | |
dmenu: fix build on `staging-next`
Without the change `dmenu` fails to build on `staging-next` as:
$ nix build --no-link -f. dmenu -L
...
dmenu> build flags: SHELL=/nix/store/mm0pa3z7kk6jh1i9rkxqxjqmd8h1qpxf-bash-5.2p37/bin/bash CC:=\$\(CC\)
dmenu> cp config.def.h config.h
dmenu> gcc -c -std=c99 -pedantic -Wall -Os -I/usr/X11R6/include -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"5.3\" -DXINERAMA dmenu.c
dmenu> In file included from dmenu.c:17:
dmenu> /nix/store/2rxphcg0qabc3a8c4lvy610sm03bh72y-libXft-2.3.8-dev/include/X11/Xft/Xft.h:40:10: fatal error: ft2build.h: No such file or directory
dmenu> 40 | #include <ft2build.h>
dmenu> | ^~~~~~~~~~~~
dmenu> compilation terminated.
dmenu> make: *** [Makefile:12: dmenu.o] Error 1
The change uses `pkg-config` to discover library dependencies and lib paths.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik')
0 files changed, 0 insertions, 0 deletions
