Another change necessary for FreeBSD build, so expat.h and can be found.

Closed Bitbucket Importer requested to merge bitbucket/declined-pr-27 into branch/default

Created originally on Bitbucket by Anonymous

Changesets for this Pull Request have not been imported, because it had been already declined on Bitbucket. Marked as closed by the import user.

compiler.compile and compiler.link_executable should probably use the "augmented" library_dirs and include_dirs. This is necessary to support added dirs for darwin and freebsd (the latter added in this patch).

I know the "if" for freebsd is a bit ugly but it seems ctypes_configure doesn't have access to standard PyPy platform management in "pypy/translator/platform/".

With this change, "tip" builds without any hiccup under FreeBSD 7 x64.

Merge request reports