add restriction
[apps/onscreenapp.git] / app / pkg-config_wrapper.sh
diff --git a/app/pkg-config_wrapper.sh b/app/pkg-config_wrapper.sh
new file mode 100644 (file)
index 0000000..02ed39b
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+PKG_CONFIG_SYSROOT_DIR=/opt/sdk/sysroots/aarch64-agl-linux
+export PKG_CONFIG_SYSROOT_DIR
+PKG_CONFIG_LIBDIR=/opt/sdk/sysroots/aarch64-agl-linux/usr/lib/pkgconfig:/opt/sdk/sysroots/aarch64-agl-linux/usr/share/pkgconfig
+export PKG_CONFIG_LIBDIR
+exec pkg-config "$@"