BuildSystem: Add missing pkg-config file and update .gitignore

This commit is contained in:
2026-07-05 00:45:43 +03:00
parent f173b7bccc
commit 58c58bcccf
2 changed files with 8 additions and 0 deletions

2
ports/.gitignore vendored
View File

@@ -2,3 +2,5 @@
!*/patches/ !*/patches/
!*/build.sh !*/build.sh
.installed_ports .installed_ports
config.sub
*-banan_os-meson.txt

6
ports/pkg-config Executable file
View File

@@ -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 $@