Luna/tools/exec/luna-pkg-config

11 lines
470 B
Plaintext
Raw Permalink Normal View History

2023-08-08 18:28:11 +00:00
#!/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 "$@"