Skip to content

build: fix DATA_DIR constant

Jan Tojnar requested to merge wip/jtojnar/dirs into master

On Nix, the datadir option is returning just share, which causes issues when the program tries to load the data:

$ result/bin/gupnp-network-light
** (gupnp-network-light:29089): CRITICAL **: 20:12:47.920: Unable to load the XML description file: Failed to parse share/gupnp-tools/xml/network-light-desc.xml

Let’s fix it to always use absolute paths.

Merge request reports