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

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()