blob: 43a38e5a3a2ce82b3f2ca61f663d77058c9a7a3d [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 Williamsc124f4f2015-09-15 14:41:29 -050016FILES_${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"