Mercurial > mxe-octave
diff src/qt.mk @ 1910:ce3b84b9514f
package qt: build with -no-iconv
mingw-cross-env should build Qt with "-no-iconv". That way, the
programmer will get linker errors when trying to build his application.
That way, he will know that he *must* include the text codec plugins.
author | Nikos Chantziaras <realnc@arcor.de> |
---|---|
date | Tue, 28 Jun 2011 21:16:19 +0200 |
parents | bd0e473505e5 |
children | b24ef78a43a8 |
line wrap: on
line diff
--- a/src/qt.mk Tue Jun 28 21:12:44 2011 +0200 +++ b/src/qt.mk Tue Jun 28 21:16:19 2011 +0200 @@ -10,7 +10,7 @@ $(PKG)_FILE := $(PKG)-everywhere-opensource-src-$($(PKG)_VERSION).tar.gz $(PKG)_WEBSITE := http://qt.nokia.com/ $(PKG)_URL := http://get.qt.nokia.com/qt/source/$($(PKG)_FILE) -$(PKG)_DEPS := gcc libodbc++ postgresql freetds openssl zlib libpng jpeg libmng tiff sqlite libiconv dbus +$(PKG)_DEPS := gcc libodbc++ postgresql freetds openssl zlib libpng jpeg libmng tiff sqlite dbus define $(PKG)_UPDATE wget -q -O- 'http://qt.gitorious.org/qt/qt/commits' | \ @@ -28,7 +28,7 @@ cd '$(1)' && \ OPENSSL_LIBS="`'$(TARGET)-pkg-config' --libs-only-l openssl`" \ PSQL_LIBS="-lpq -lsecur32 `'$(TARGET)-pkg-config' --libs-only-l openssl` -lws2_32" \ - SYBASE_LIBS="-lsybdb -liconv -lws2_32" \ + SYBASE_LIBS="-lsybdb -lws2_32" \ ./configure \ -opensource \ -confirm-license \ @@ -41,6 +41,7 @@ -prefix '$(PREFIX)/$(TARGET)' \ -prefix-install \ -script \ + -no-iconv \ -opengl desktop \ -webkit \ -no-glib \