Avoid referencing install dir from binaries

The install dir is only used as a temporary directory while building.
Config files (sysconfdir) should come from /pkg/data, while the rpath
isn't needed in our build.

Change-Id: I0b27f813b6f28f320309408daf6f1ca45d22bda7
diff --git a/fuchsia/build.sh b/fuchsia/build.sh
index ba4aa6f..2435172 100755
--- a/fuchsia/build.sh
+++ b/fuchsia/build.sh
@@ -46,6 +46,7 @@
   -Dwith_x11=no\
   -Dwith_glx=no\
   -Dwith_magma=yes\
+  -Dsysconfdir=/pkg/data\
   -Ddriverdir=. \
   $FUCHSIA_DIR/third_party/intel/libva $OUT_DIR/libva
 ninja -C $OUT_DIR/libva install
@@ -78,7 +79,8 @@
   -DCMAKE_INSTALL_PREFIX=$OUT_DIR/install\
   -DFUCHSIA_TOOLCHAIN=$CLANG_DIR\
   -DFUCHSIA_SYSTEM_PROCESSOR=x86_64\
-  -DFUCHSIA_SYSROOT=$SYSROOT_DIR
+  -DFUCHSIA_SYSROOT=$SYSROOT_DIR\
+  -DCMAKE_SKIP_RPATH=ON
 ninja -C $OUT_DIR/media-driver install
 
 #