blob: 94b5fd426d7c15b651217fe5920d8d11ab503213 [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
14export LINKFORSHARED = "{SECURITY_CFLAGS} -Xlinker -export-dynamic"
15
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"