blob: d98f24b4c04b0a90c3e2d4b53b3e01480fbea9ed (
plain) (
blame)
1
2
3
4
5
6
7
8
|
addDbusIncludePath () {
if test -d "$1/include/dbus-1.0"
then
export NIX_CFLAGS_COMPILE="${NIX_CFLAGS_COMPILE} -I$1/include/dbus-1.0 -I $1/lib/dbus-1.0/include"
fi
}
envHooks=(${envHooks[@]} addDbusIncludePath)
|