BuildSystem: Add missing pkg-config file and update .gitignore
This commit is contained in:
2
ports/.gitignore
vendored
2
ports/.gitignore
vendored
@@ -2,3 +2,5 @@
|
||||
!*/patches/
|
||||
!*/build.sh
|
||||
.installed_ports
|
||||
config.sub
|
||||
*-banan_os-meson.txt
|
||||
|
||||
6
ports/pkg-config
Executable file
6
ports/pkg-config
Executable 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 $@
|
||||
Reference in New Issue
Block a user