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