blob: d81ec31876a912eb4c213c260e19fbb085691fce (
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()
|