summaryrefslogtreecommitdiffstats
path: root/meta/classes/distutils-common-base.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/distutils-common-base.bbclass')
-rw-r--r--meta/classes/distutils-common-base.bbclass12
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 @@
1export STAGING_INCDIR 1export STAGING_INCDIR
2export STAGING_LIBDIR 2export STAGING_LIBDIR
3 3
4# 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
4FILES_${PN} += "${libdir}/* ${libdir}/${PYTHON_DIR}/*" 16FILES_${PN} += "${libdir}/* ${libdir}/${PYTHON_DIR}/*"
5 17
6FILES_${PN}-staticdev += "\ 18FILES_${PN}-staticdev += "\