diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2020-11-19 10:17:32 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-12-09 23:49:01 +0000 |
commit | 9f5727f2ea08c4c1dae6ca1a49cbc9c56ad1422b (patch) | |
tree | 34dbdc200260d6c292f2dce32447998f7785c2b5 /meta/classes | |
parent | 021c82c678025d22e0047b411b288da2ef48e9bc (diff) | |
download | poky-9f5727f2ea08c4c1dae6ca1a49cbc9c56ad1422b.tar.gz |
distutils-common-base: fix LINKSHARED expansion
Add the missing $ so SECURITY_CFLAGS actually gets expanded.
(From OE-Core rev: 0fc0b52cc624455cd48097dbc0536de50dbc4ede)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6ed2f892ebb0b4e30a3bf167eac68027ea378a2d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/distutils-common-base.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/distutils-common-base.bbclass b/meta/classes/distutils-common-base.bbclass index 94b5fd426d..43a38e5a3a 100644 --- a/meta/classes/distutils-common-base.bbclass +++ b/meta/classes/distutils-common-base.bbclass | |||
@@ -11,7 +11,7 @@ export LDCXXSHARED = "${CXX} -shared" | |||
11 | export CCSHARED = "-fPIC -DPIC" | 11 | export CCSHARED = "-fPIC -DPIC" |
12 | # LINKFORSHARED are the flags passed to the $(CC) command that links | 12 | # LINKFORSHARED are the flags passed to the $(CC) command that links |
13 | # the python executable | 13 | # the python executable |
14 | export LINKFORSHARED = "{SECURITY_CFLAGS} -Xlinker -export-dynamic" | 14 | export LINKFORSHARED = "${SECURITY_CFLAGS} -Xlinker -export-dynamic" |
15 | 15 | ||
16 | FILES_${PN} += "${libdir}/* ${libdir}/${PYTHON_DIR}/*" | 16 | FILES_${PN} += "${libdir}/* ${libdir}/${PYTHON_DIR}/*" |
17 | 17 | ||