pg_config 327 B

12345678910111213141516171819
  1. #!/bin/sh
  2. #
  3. # Minimal pg_config implementation as replacement for the native pg_config application
  4. # Only implements --includedir and --libdir
  5. #
  6. prefix=@@STAGING_TARGET_DIR@@/usr
  7. case "$1" in
  8. --includedir)
  9. echo "$prefix/include"
  10. ;;
  11. --libdir)
  12. echo "$prefix/lib"
  13. ;;
  14. *)
  15. echo "Usage: $0 {--includedir|--libdir}"
  16. esac