[Python.NET] UCS2/UCS4 detection

Sanghyeon Seo sanxiyn at gmail.com
Thu Oct 18 06:15:16 CEST 2007

UCS2/UCS4 detection in Makefile doesn't seem to work here.

tinuviel at debian:~/svn/pythonnet$ python -c 'import sys; print sys.maxunicode'

tinuviel at debian:~/svn/pythonnet$ make Python.Runtime.dll
cd "/home/tinuviel/svn/pythonnet/src/runtime"; \
        gmcs /define:PYTHON24,UCS2 /nologo  /unsafe /target:library \
             /out:../../Python.Runtime.dll /recurse:*.cs

Makefile uses distutils.sysconfig, but why not just check sys.maxunicode?

Seo Sanghyeon

More information about the PythonDotNet mailing list