aboutsummaryrefslogtreecommitdiffstats
path: root/build/platform/python/ldflags/ya.make
blob: d44be05017670279c895ca2d1a24f1c614dd103c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
RESOURCES_LIBRARY()

OWNER(g:contrib)

IF (USE_SYSTEM_PYTHON)
    IF (OS_LINUX)
        LDFLAGS("-L$EXTERNAL_PYTHON_RESOURCE_GLOBAL/python/lib/x86_64-linux-gnu -lpython${PY_VERSION}")
    ELSEIF (OS_DARWIN)
        LDFLAGS("-L$EXTERNAL_PYTHON_RESOURCE_GLOBAL/python/Python.framework/Versions/${PY_FRAMEWORK_VERSION}/lib -lpython${PY_VERSION}")
    ELSEIF (OS_WINDOWS)
        LDFLAGS("/LIBPATH:$EXTERNAL_PYTHON_RESOURCE_GLOBAL/python/libs")
    ENDIF()
ELSEIF (NOT USE_ARCADIA_PYTHON)
    LDFLAGS($PYTHON_LDFLAGS $PYTHON_LIBRARIES) 
ENDIF()

END()