blob: 59c750a3cf7bc44e339705607854a8e0aa8e10d2 [file] [log] [blame]
Andrew Geissler9aee5002022-03-30 16:27:02 +00001export STAGING_INCDIR
2export STAGING_LIBDIR
3
4# LDSHARED is the ld *command* used to create shared library
5export LDSHARED = "${CCLD} -shared"
6# LDXXSHARED is the ld *command* used to create shared library of C++
7# objects
8export LDCXXSHARED = "${CXX} -shared"
9# CCSHARED are the C *flags* used to create objects to go into a shared
10# library (module)
11export CCSHARED = "-fPIC -DPIC"
12# LINKFORSHARED are the flags passed to the $(CC) command that links
13# the python executable
14export LINKFORSHARED = "${SECURITY_CFLAGS} -Xlinker -export-dynamic"
15
16FILES:${PN} += "${libdir}/* ${libdir}/${PYTHON_DIR}/*"
17
18FILES:${PN}-staticdev += "\
19 ${PYTHON_SITEPACKAGES_DIR}/*.a \
20"
21FILES:${PN}-dev += "\
22 ${datadir}/pkgconfig \
23 ${libdir}/pkgconfig \
24 ${PYTHON_SITEPACKAGES_DIR}/*.la \
25"
26python __anonymous() {
27 bb.warn("distutils-common-base.bbclass is deprecated, please use setuptools3-base.bbclass instead")
28}