Skip to content
Commit c70bd7b7 authored by Scott Anderson's avatar Scott Anderson Committed by Eric Engestrom
Browse files

meson: Replace 'config.h' with config_file



This fixes an issue with libdrm failing to build when used as a meson
subproject. Using 'config.h' directly will cause it to possibly refer to
the wrong file.

By using `@0@.format(config_file)`, it will be transformed into the
correct relative path, e.g. `./config.h` in normal build,
`./subprojects/libdrm/config.h` in subproject build.

Signed-off-by: default avatarScott Anderson <scott@anderso.nz>
Acked-by: default avatarEric Engestrom <eric.engestrom@intel.com>
parent edafcf18
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment