]> git.saurik.com Git - ldid.git/blame - make.sh
Support compilation on Mac OS X 10.4.
[ldid.git] / make.sh
CommitLineData
6212944b 1#!/bin/bash
6579543e
JF
2
3flags=()
4
5sdk=/Developer/SDKs/MacOSX10.4u.sdk
6if [[ -e $sdk ]]; then
7 flags+=(-mmacosx-version-min=10.4 -isysroot "$sdk")
8fi
9
10g++ -arch ppc -arch i386 -arch x86_64 "${flags[@]}" -o ldid ldid.cpp -I. -x c lookup2.c sha1.c