summaryrefslogtreecommitdiff
path: root/community/madman/fake-g++.sh
blob: 17da66d5a47d996f609011fc6ae9a309fb5da25a (plain)
1
2
3
4
5
6
7
#!/bin/sh -x

Q=`echo "$*" | sed 's|- p t h r e a d|-pthread|'`

echo "$Q" | grep 'lmp4ff' && Q="$Q /usr/lib/libmp4ff.a"

exec /bin/g++ $Q