summaryrefslogtreecommitdiffstats
path: root/src/postgresql.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2011-08-04 12:58:35 (GMT)
committerTony Theodore <tonyt@logyst.com>2011-08-04 12:58:35 (GMT)
commit56938b3c6178be1ae685af2e80d9abf126dd1168 (patch)
tree1f672554871f95a6edd55340590c4b615055db10 /src/postgresql.mk
parent9b1a9d3d58250bac3f01ea52fceb063dfd8a4d96 (diff)
downloadmxe-56938b3c6178be1ae685af2e80d9abf126dd1168.zip
mxe-56938b3c6178be1ae685af2e80d9abf126dd1168.tar.gz
mxe-56938b3c6178be1ae685af2e80d9abf126dd1168.tar.bz2
package postgresql: fix native pg_config
Diffstat (limited to 'src/postgresql.mk')
-rw-r--r--src/postgresql.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/postgresql.mk b/src/postgresql.mk
index 248088e..da5e4c6 100644
--- a/src/postgresql.mk
+++ b/src/postgresql.mk
@@ -79,6 +79,6 @@ define $(PKG)_BUILD
--without-zlib \
--with-system-tzdata=/dev/null
$(MAKE) -C '$(1).native'/src/port -j '$(JOBS)'
- $(MAKE) -C '$(1).native'/src/bin/pg_config -j '$(JOBS)'
- $(INSTALL) -m755 '$(1).native'/src/bin/pg_config/pg_config '$(PREFIX)/bin/$(TARGET)-pg_config'
+ $(MAKE) -C '$(1).native'/src/bin/pg_config -j '$(JOBS)' install
+ ln -s '$(PREFIX)/$(TARGET)/bin/pg_config' '$(PREFIX)/bin/$(TARGET)-pg_config'
endef