diff options
Diffstat (limited to 'meta/classes/distutils-common-base.bbclass')
-rw-r--r-- | meta/classes/distutils-common-base.bbclass | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/classes/distutils-common-base.bbclass b/meta/classes/distutils-common-base.bbclass index 824a1b68b1..94b5fd426d 100644 --- a/meta/classes/distutils-common-base.bbclass +++ b/meta/classes/distutils-common-base.bbclass | |||
@@ -1,6 +1,18 @@ | |||
1 | export STAGING_INCDIR | 1 | export STAGING_INCDIR |
2 | export STAGING_LIBDIR | 2 | export STAGING_LIBDIR |
3 | 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 | |||
4 | FILES_${PN} += "${libdir}/* ${libdir}/${PYTHON_DIR}/*" | 16 | FILES_${PN} += "${libdir}/* ${libdir}/${PYTHON_DIR}/*" |
5 | 17 | ||
6 | FILES_${PN}-staticdev += "\ | 18 | FILES_${PN}-staticdev += "\ |