mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
22
package/postgresql/pg_config
Normal file
22
package/postgresql/pg_config
Normal file
@@ -0,0 +1,22 @@
|
||||
#!/bin/sh
|
||||
|
||||
#
|
||||
# Minimal pg_config implementation as replacement for the native pg_config application
|
||||
# Only implements --includedir and --libdir
|
||||
#
|
||||
|
||||
prefix=/usr
|
||||
|
||||
case "$1" in
|
||||
--includedir)
|
||||
echo "$prefix/include"
|
||||
;;
|
||||
--libdir)
|
||||
echo "$prefix/lib"
|
||||
;;
|
||||
--version)
|
||||
echo "PostgreSQL @POSTGRESQL_VERSION@"
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {--includedir|--libdir|--version}"
|
||||
esac
|
||||
Reference in New Issue
Block a user