xref: /OK3568_Linux_fs/yocto/poky/meta/classes/setuptools3-base.bbclass (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1DEPENDS:append:class-target = " ${PYTHON_PN}-native ${PYTHON_PN}"
2DEPENDS:append:class-nativesdk = " ${PYTHON_PN}-native ${PYTHON_PN}"
3RDEPENDS:${PN}:append:class-target = " ${PYTHON_PN}-core"
4
5export STAGING_INCDIR
6export STAGING_LIBDIR
7
8# LDSHARED is the ld *command* used to create shared library
9export LDSHARED  = "${CCLD} -shared"
10# LDXXSHARED is the ld *command* used to create shared library of C++
11# objects
12export LDCXXSHARED  = "${CXX} -shared"
13# CCSHARED are the C *flags* used to create objects to go into a shared
14# library (module)
15export CCSHARED  = "-fPIC -DPIC"
16# LINKFORSHARED are the flags passed to the $(CC) command that links
17# the python executable
18export LINKFORSHARED = "${SECURITY_CFLAGS} -Xlinker -export-dynamic"
19
20FILES:${PN} += "${libdir}/* ${libdir}/${PYTHON_DIR}/*"
21
22FILES:${PN}-staticdev += "\
23  ${PYTHON_SITEPACKAGES_DIR}/*.a \
24"
25FILES:${PN}-dev += "\
26  ${datadir}/pkgconfig \
27  ${libdir}/pkgconfig \
28  ${PYTHON_SITEPACKAGES_DIR}/*.la \
29"
30inherit python3native python3targetconfig
31
32