Permalink
Browse files

Add our prefix to XDG_DATA_DIRS for Vala

This is not necessary when PREFIX=/usr or otherwise the same as Vala's default search path. But when PREFIX is something
non-standard we need this to make Vala find the Xfce .vapi files.
  • Loading branch information...
1 parent ea5a530 commit 34d9757a7ebc2da00f9648d54f01244edadf4057 @eht16 committed Jan 1, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 xfce4-build.sh
View
@@ -42,6 +42,9 @@ if [ "x$BUILDIT" == "x" ]; then
BUILDIT="buildit"
export BUILDIT
fi
+# this is necessary for Vala to find its .vapi files
+XDG_DATA_DIRS="$XDG_DATA_DIRS:$PREFIX/share"
+export XDG_DATA_DIRS

0 comments on commit 34d9757

Please sign in to comment.