Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | export STAGING_INCDIR |
| 2 | export STAGING_LIBDIR |
| 3 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 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 |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame^] | 14 | export LINKFORSHARED = "${SECURITY_CFLAGS} -Xlinker -export-dynamic" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 15 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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 | " |