diff --git a/ports/.gitignore b/ports/.gitignore index cf7a405e..a819e0ba 100644 --- a/ports/.gitignore +++ b/ports/.gitignore @@ -2,3 +2,5 @@ !*/patches/ !*/build.sh .installed_ports +config.sub +*-banan_os-meson.txt diff --git a/ports/pkg-config b/ports/pkg-config new file mode 100755 index 00000000..3ac67852 --- /dev/null +++ b/ports/pkg-config @@ -0,0 +1,6 @@ +#!/bin/sh +export PKG_CONFIG_DIR='' +export PKG_CONFIG_SYSROOT_DIR="$BANAN_SYSROOT" +export PKG_CONFIG_LIBDIR="$PKG_CONFIG_SYSROOT_DIR/usr/lib/pkgconfig" +export PKG_CONFIG_PATH="$PKG_CONFIG_SYSROOT_DIR/usr/share/pkgconfig" +exec pkg-config $@