blob: 59c750a3cf7bc44e339705607854a8e0aa8e10d2 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001export STAGING_INCDIR
2export STAGING_LIBDIR
3
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08004# 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
Andrew Geissler6ce62a22020-11-30 19:58:47 -060014export LINKFORSHARED = "${SECURITY_CFLAGS} -Xlinker -export-dynamic"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080015
Patrick Williams213cb262021-08-07 19:21:33 -050016FILES:${PN} += "${libdir}/* ${libdir}/${PYTHON_DIR}/*"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050017
Patrick Williams213cb262021-08-07 19:21:33 -050018FILES:${PN}-staticdev += "\
Patrick Williamsc124f4f2015-09-15 14:41:29 -050019 ${PYTHON_SITEPACKAGES_DIR}/*.a \
20"
Patrick Williams213cb262021-08-07 19:21:33 -050021FILES:${PN}-dev += "\
Patrick Williamsc124f4f2015-09-15 14:41:29 -050022 ${datadir}/pkgconfig \
23 ${libdir}/pkgconfig \
24 ${PYTHON_SITEPACKAGES_DIR}/*.la \
25"
Andrew Geissler595f6302022-01-24 19:11:47 +000026python __anonymous() {
27 bb.warn("distutils-common-base.bbclass is deprecated, please use setuptools3-base.bbclass instead")
28}