http://lists.apple.com/archives/java-dev/2007/Nov/msg00278.html
On Nov 9, 2007 12:06 PM, Stefan Arentz <email@hidden> wrote:
> What is the trick to compile a JNI lib on 10.5 that should also work on 10.4?
>
> Right now I'm using:
>
> g++
> -c
> -g
I got an anonymous tip :-)
simply doing an:
export MACOSX_DEPLOYMENT_TARGET=10.4
Before building made the difference. I was under the impression that
using the 10.4 SDK was enough, but it seems that the toolchain looks
at this environment variable.
Thanks! (You know who you are :-)
S.
Friday, November 13, 2009
MACOSX_DEPLOYMENT_TARGET=10.4
Subscribe to:
Posts (Atom)