Luna/tools/exec/luna-pkg-config
apio 32fd6889b9
All checks were successful
continuous-integration/drone/push Build is passing
ports: Add pkg-config wrapper
2023-08-08 20:28:11 +02:00

11 lines
470 B
Bash

#!/bin/sh
# Fill these in appropriately:
export PKG_CONFIG_SYSROOT_DIR=$LUNA_BASE
export PKG_CONFIG_LIBDIR=$LUNA_BASE/usr/lib/pkgconfig
# TODO: If it works this should probably just be set to the empty string.
export PKG_CONFIG_PATH=$PKG_CONFIG_LIBDIR
# Use --static here if your OS only has static linking.
# TODO: Perhaps it's a bug in the libraries if their pkg-config files doesn't
# record that only static libraries were built.
exec pkg-config --static "$@"