diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2010-02-18 02:03:04 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2010-02-18 02:03:04 (GMT) |
commit | c29ce62e5c7065c478c7aeff0136c7c5e97e1c6c (patch) | |
tree | 197507107ffc33389d6b1b550da1a31be1deb083 | |
parent | b5e9d038cc9d676731ca9bc0012c1318f8616a91 (diff) | |
download | mxe-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.mk | 2 | ||||
-rw-r--r-- | src/postgresql.mk | 3 |
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 |