summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-02-18 02:03:04 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-02-18 02:03:04 (GMT)
commitc29ce62e5c7065c478c7aeff0136c7c5e97e1c6c (patch)
tree197507107ffc33389d6b1b550da1a31be1deb083
parentb5e9d038cc9d676731ca9bc0012c1318f8616a91 (diff)
downloadmxe-c29ce62e5c7065c478c7aeff0136c7c5e97e1c6c.zip
mxe-c29ce62e5c7065c478c7aeff0136c7c5e97e1c6c.tar.gz
mxe-c29ce62e5c7065c478c7aeff0136c7c5e97e1c6c.tar.bz2
install "usr/bin/i686-pc-mingw32-pg_config" instead of "usr/i686-pc-mingw32/bin/pg_config"
-rw-r--r--src/gdal.mk2
-rw-r--r--src/postgresql.mk3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/gdal.mk b/src/gdal.mk
index d6f3614..236d5c8 100644
--- a/src/gdal.mk
+++ b/src/gdal.mk
@@ -44,7 +44,7 @@ define $(PKG)_BUILD
--with-sqlite3='$(PREFIX)/$(TARGET)' \
--with-curl='$(PREFIX)/$(TARGET)/bin/curl-config' \
--with-geos='$(PREFIX)/$(TARGET)/bin/geos-config' \
- --with-pg='$(PREFIX)/$(TARGET)/bin/pg_config' \
+ --with-pg='$(TARGET)-pg_config' \
--with-odbc='$(PREFIX)/$(TARGET)' \
--without-static-proj4 \
--without-xerces \
diff --git a/src/postgresql.mk b/src/postgresql.mk
index 3bfeb24..e798c90 100644
--- a/src/postgresql.mk
+++ b/src/postgresql.mk
@@ -80,5 +80,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
+ $(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'
endef