summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXin Ouyang <Xin.Ouyang@windriver.com>2013-01-24 19:37:15 +0800
committerXin Ouyang <Xin.Ouyang@windriver.com>2013-01-24 19:47:38 +0800
commit332be210657256a8c09c88069551c6729b8d6c1d (patch)
treee45ae954796b8cf552e3b306aaa7c8dd6292bbc0
parenta1d632a26f2d599ad6092746a60d0ccb80711aaa (diff)
downloadmeta-selinux-332be210657256a8c09c88069551c6729b8d6c1d.tar.gz
setools: fix incorrect PYTHON_LDFLAGS.
PYTHON_LDFLAGS is considered as the full path of libpython2.7.so, dirname of the .so file will be expanded into -L<DIR>. As a result, current PYTHON_LDFLAGS cause this compile result: ${CC} ... -L-LXXX/tmp/sysroots/qemux86-64/usr/lib64 -L-lapol -lqpol -o _sesearch.so So "-lapol" is ignored, fix this. CQID: WIND00400717 Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
-rw-r--r--recipes-security/setools/setools_3.3.7.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-security/setools/setools_3.3.7.bb b/recipes-security/setools/setools_3.3.7.bb
index 2c0f19f..9a87a99 100644
--- a/recipes-security/setools/setools_3.3.7.bb
+++ b/recipes-security/setools/setools_3.3.7.bb
@@ -7,7 +7,7 @@ This meta-package depends upon the main packages necessary to run \
7SETools." 7SETools."
8SECTION = "base" 8SECTION = "base"
9LICENSE = "GPLv2 & LGPLv2.1" 9LICENSE = "GPLv2 & LGPLv2.1"
10PR = "r1" 10PR = "r2"
11 11
12SRC_URI = "http://oss.tresys.com/projects/setools/chrome/site/dists/setools-${PV}/setools-${PV}.tar.bz2;" 12SRC_URI = "http://oss.tresys.com/projects/setools/chrome/site/dists/setools-${PV}/setools-${PV}.tar.bz2;"
13SRC_URI[md5sum] = "0377d7a06028825434cd7b41a80865a5" 13SRC_URI[md5sum] = "0377d7a06028825434cd7b41a80865a5"
@@ -87,7 +87,7 @@ do_configure() {
87 export PYTHON=python 87 export PYTHON=python
88 export PYLIBVER='python${PYTHON_BASEVERSION}' 88 export PYLIBVER='python${PYTHON_BASEVERSION}'
89 export PYTHON_CPPFLAGS="-I${STAGING_INCDIR}/${PYLIBVER}" 89 export PYTHON_CPPFLAGS="-I${STAGING_INCDIR}/${PYLIBVER}"
90 export PYTHON_LDFLAGS="-L${STAGING_LIBDIR}/${PYLIBVER} -l${PYLIBVER}" 90 export PYTHON_LDFLAGS="${STAGING_LIBDIR}/lib${PYLIBVER}.so"
91 export PYTHON_SITE_PKG="${libdir}/${PYLIBVER}/site-packages" 91 export PYTHON_SITE_PKG="${libdir}/${PYLIBVER}/site-packages"
92 oe_runconf --disable-bwidget-check --disable-selinux-check \ 92 oe_runconf --disable-bwidget-check --disable-selinux-check \
93 --disable-swig-python --disable-swig-java --disable-swig-tcl \ 93 --disable-swig-python --disable-swig-java --disable-swig-tcl \