Ticket #40741: universal.sh

File universal.sh, 261 bytes (added by christophe.pradal@…, 11 years ago)

graphics/libPyQGLViewer/files/

Line 
1#!/bin/sh
2for file in `find @@@WRKSRCPATH@@@ -name '*.pro'`; do
3        cat << EOT > ${file}.tmp
4QMAKE_CFLAGS_RELEASE += @@@ARCHS@@@
5QMAKE_CXXFLAGS_RELEASE += @@@ARCHS@@@
6QMAKE_LFLAGS_RELEASE += @@@ARCHS@@@
7EOT
8        cat ${file} >> ${file}.tmp
9        mv ${file}.tmp ${file}
10done