mirror of
https://git.yoctoproject.org/poky
synced 2026-02-21 00:49:41 +01:00
On non-gplv3 builds, gdbm gets built different due to the different version which triggers a different codepath in python's db support and then hence triggers an invalid RPATH QA issue. This change extends the appropriate patch to cover the code paths we need it to cover and avoid adding the problematic RPATH. (From OE-Core rev: 90540692c40719b757b80bdc6e78e679a3df83a7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
27 lines
1.2 KiB
Diff
27 lines
1.2 KiB
Diff
Remove the RPATH to avoid QA issue warning.
|
|
|
|
RP: Added secondary unnecessary rpath to the list 2012/8/7
|
|
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
|
|
|
|
|
|
Index: Python-2.7.3/setup.py
|
|
===================================================================
|
|
--- Python-2.7.3.orig/setup.py 2012-08-07 10:41:58.560132529 +0000
|
|
+++ Python-2.7.3/setup.py 2012-08-07 11:09:47.852094515 +0000
|
|
@@ -1042,7 +1042,6 @@
|
|
exts.append(Extension('_bsddb', ['_bsddb.c'],
|
|
depends = ['bsddb.h'],
|
|
library_dirs=dblib_dir,
|
|
- runtime_library_dirs=dblib_dir,
|
|
include_dirs=db_incs,
|
|
libraries=dblibs))
|
|
else:
|
|
@@ -1252,7 +1251,6 @@
|
|
print "building dbm using bdb"
|
|
dbmext = Extension('dbm', ['dbmmodule.c'],
|
|
library_dirs=dblib_dir,
|
|
- runtime_library_dirs=dblib_dir,
|
|
include_dirs=db_incs,
|
|
define_macros=[
|
|
('HAVE_BERKDB_H', None),
|