diff options
author | Anton Samokhvalov <pg83@yandex.ru> | 2022-02-10 16:45:17 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:17 +0300 |
commit | d3a398281c6fd1d3672036cb2d63f842d2cb28c5 (patch) | |
tree | dd4bd3ca0f36b817e96812825ffaf10d645803f2 /contrib/tools/python/pyconfig.inc | |
parent | 72cb13b4aff9bc9cf22e49251bc8fd143f82538f (diff) | |
download | ydb-d3a398281c6fd1d3672036cb2d63f842d2cb28c5.tar.gz |
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/tools/python/pyconfig.inc')
-rw-r--r-- | contrib/tools/python/pyconfig.inc | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/contrib/tools/python/pyconfig.inc b/contrib/tools/python/pyconfig.inc index b7ea0b273a..01da7d4566 100644 --- a/contrib/tools/python/pyconfig.inc +++ b/contrib/tools/python/pyconfig.inc @@ -1,9 +1,9 @@ -NO_COMPILER_WARNINGS() - +NO_COMPILER_WARNINGS() + ENABLE(USE_ARCADIA_PYTHON) SET(PYTHON_DIR "contrib/tools/python") -SET(PYTHON_SRC_DIR "${PYTHON_DIR}/src") +SET(PYTHON_SRC_DIR "${PYTHON_DIR}/src") SET(PYTHON_ROOT "${ARCADIA_ROOT}/${PYTHON_DIR}") SET(PYTHON_SRC_ROOT "${ARCADIA_ROOT}/${PYTHON_SRC_DIR}") @@ -16,33 +16,33 @@ CFLAGS( -DUNQUOTED_VERSION=2.7 ) -IF (NOT WIN32) +IF (NOT WIN32) EXTRALIBS(-lutil) - IF (LINUX) + IF (LINUX) EXTRALIBS(-ldl) CFLAGS( -DUNQUOTED_PYTHONPATH=:plat-linux2 -DUNQUOTED_PLATFORM=linux2 ) - ELSEIF (FREEBSD) + ELSEIF (FREEBSD) CFLAGS( -DUNQUOTED_PYTHONPATH=:plat-freebsd${FREEBSD_VER} -DUNQUOTED_PLATFORM=freebsd${FREEBSD_VER} ) - ELSEIF (DARWIN) - CFLAGS( + ELSEIF (DARWIN) + CFLAGS( -DUNQUOTED_PYTHONPATH=:plat-darwin -DUNQUOTED_PLATFORM=darwin - ) + ) LDFLAGS( -framework SystemConfiguration -framework CoreFoundation ) - ENDIF () -ENDIF () - -IF (MSVC) - CFLAGS(/DXMLCALL= /DXMLIMPORT=) -ENDIF () + ENDIF () +ENDIF () + +IF (MSVC) + CFLAGS(/DXMLCALL= /DXMLIMPORT=) +ENDIF () |