How to determine Python.h location in Makefile?

Denny Lin dennylin93 at hs.ntnu.edu.tw
Tue Aug 7 03:24:20 UTC 2012


Hi,

On Tue, Aug 07, 2012 at 10:21:13AM +0800, HU Dong wrote:
> Hi, all! Could anybody tell me how to detect Python.h location
> automatically in port Makefile, or how to add its path to gmake's arguments
> in a reliable way?

There's a list of variables in bsd.python.mk. This should work:
${PYTHON_INCLUDEDIR}/Python.h

-- 
Denny Lin


More information about the freebsd-ports mailing list