aboutsummaryrefslogtreecommitdiffstats
path: root/build/platform/python/ldflags/ya.make
blob: 7aa22cda1c8a79fe9c3f1bf5f7487b3c38874414 (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()