in reply to RFC: Calling Perl from C

I guess on intel Mac, you might want to take care of this line:

LDLIBS= -lperlenv `perl -MExtUtils::Embed -e ccopts -e ldopts`

Because it might contain the architecture that you don't want, ppc for example, while your library is built for i386/x86_64.