diff src/qt.mk @ 786:d3d9a4a2843d

revert openssl hacks in configure and use pg_config in package qt
author Mark Brand <mabrand@mabrand.nl>
date Wed, 17 Feb 2010 21:57:56 +0100
parents 1d651946e889
children d57d5de5d4b2
line wrap: on
line diff
--- a/src/qt.mk	Wed Feb 17 16:56:48 2010 +0100
+++ b/src/qt.mk	Wed Feb 17 21:57:56 2010 +0100
@@ -86,6 +86,9 @@
     find '$(1)'/src -name '*.pr[oi]' -exec \
         $(SED) -i 's,\(^\|[^_/]\)win32\([^-]\|$$\),\1unix\2,g' {} \;
 
+    # Use the correct pg_config tool
+    $(SED) -i 's,pg_config,$(PREFIX)/$(TARGET)/bin/pg_config,g;' '$(1)'/configure
+
     # Configure Qt for MinGW target
     # We prefer static mingw-cross-env system libs for static build:
     # -system-zlib -system-libpng -system-libjpeg -system-libtiff -system-libmng -system-sqlite