From 58c58bcccfc974a06206ca685bd05b96c003ab99 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Sun, 5 Jul 2026 00:45:43 +0300 Subject: [PATCH] BuildSystem: Add missing pkg-config file and update .gitignore --- ports/.gitignore | 2 ++ ports/pkg-config | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100755 ports/pkg-config 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 $@