diff options
Diffstat (limited to 'package/postgresql/files/pg_config')
-rw-r--r-- | package/postgresql/files/pg_config | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/package/postgresql/files/pg_config b/package/postgresql/files/pg_config new file mode 100644 index 000000000..0d82c24a1 --- /dev/null +++ b/package/postgresql/files/pg_config @@ -0,0 +1,19 @@ +#!/bin/sh + +# +# Minimal pg_config implementation as replacement for the native pg_config application +# Only implements --includedir and --libdir +# + +prefix=@@STAGING_TARGET_DIR@@/usr + +case "$1" in + --includedir) + echo "$prefix/include" + ;; + --libdir) + echo "$prefix/lib" + ;; + *) + echo "Usage: $0 {--includedir|--libdir}" +esac |