Mercurial > mxe-octave
comparison src/qt.mk @ 2735:485231b507aa
package qt: use new unified mkspec for cross building
The regular win32-g++* mkspecs now support cross bulding. No need
to use unsupported/win32-g++-cross anymore.
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Tue, 11 Sep 2012 22:34:40 +0200 |
parents | ffdcd0f515bc |
children | 61643b8b5122 |
comparison
equal
deleted
inserted
replaced
2734:ffdcd0f515bc | 2735:485231b507aa |
---|---|
16 tail -1 | 16 tail -1 |
17 endef | 17 endef |
18 | 18 |
19 define $(PKG)_BUILD | 19 define $(PKG)_BUILD |
20 cd '$(1)' && QTDIR='$(1)' ./bin/syncqt | 20 cd '$(1)' && QTDIR='$(1)' ./bin/syncqt |
21 | |
22 cd '$(1)' && \ | 21 cd '$(1)' && \ |
23 OPENSSL_LIBS="`'$(TARGET)-pkg-config' --libs-only-l openssl`" \ | 22 OPENSSL_LIBS="`'$(TARGET)-pkg-config' --libs-only-l openssl`" \ |
24 PSQL_LIBS="-lpq -lsecur32 `'$(TARGET)-pkg-config' --libs-only-l openssl` -lws2_32" \ | 23 PSQL_LIBS="-lpq -lsecur32 `'$(TARGET)-pkg-config' --libs-only-l openssl` -lws2_32" \ |
25 SYBASE_LIBS="-lsybdb `'$(TARGET)-pkg-config' --libs-only-l gnutls` -liconv -lws2_32" \ | 24 SYBASE_LIBS="-lsybdb `'$(TARGET)-pkg-config' --libs-only-l gnutls` -liconv -lws2_32" \ |
26 ./configure \ | 25 ./configure \ |
27 -opensource \ | 26 -opensource \ |
28 -confirm-license \ | 27 -confirm-license \ |
29 -fast \ | 28 -fast \ |
30 -xplatform unsupported/win32-g++-4.6-cross \ | 29 -xplatform win32-g++-4.6 \ |
30 -device-option CROSS_COMPILE=$(TARGET)- \ | |
31 -force-pkg-config \ | 31 -force-pkg-config \ |
32 -release \ | 32 -release \ |
33 -exceptions \ | 33 -exceptions \ |
34 -static \ | 34 -static \ |
35 -prefix '$(PREFIX)/$(TARGET)' \ | 35 -prefix '$(PREFIX)/$(TARGET)' \ |